-
I am currently developing an application that needs root access. Either Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can start the application as root and have the workers drop privileges using https://metacpan.org/pod/Mojolicious::Plugin::SetUserGroup but this does not help if the workers also need privileges. My recommendation would be to create a user that has sudo privileges to only run the commands it needs to run and run hypnotoad as that user. |
Beta Was this translation helpful? Give feedback.
You can start the application as root and have the workers drop privileges using https://metacpan.org/pod/Mojolicious::Plugin::SetUserGroup but this does not help if the workers also need privileges. My recommendation would be to create a user that has sudo privileges to only run the commands it needs to run and run hypnotoad as that user.