I have an application I'm working on and there is an instance where it needs to be privileged to run server, but another part needs to be normal user. I can't run two tasks in tandem, and I can't simply setuid because eventually it says that the server is not permitted. I thought of two options chowning the generated files to the user via a configuration setting, or chowning to a group and then the user has to add themselves to the group. Any other ideas, or how to give the server the permission, but also fetch which user called sudo.
Submitted July 03, 2020 at 11:53PM by IroncladFool597
No comments:
Post a Comment