We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Idea: get rid of current complicated way to run root-only commands via cron.
How: enable some carefully chosen commands to be run by user www-data using sudo. This involves enabling some commands in /etc/sudoers file, e.g.
www-data
/etc/sudoers
www-data ALL=(ALL) NOPASSWD:/usr/sbin/reboot
The text was updated successfully, but these errors were encountered:
Create new sudoers file and add there the selected commands.
sudo visudo -f /etc/sudoers.d/020_www-data-nopasswd
Sorry, something went wrong.
martignoni
No branches or pull requests
Idea: get rid of current complicated way to run root-only commands via cron.
How: enable some carefully chosen commands to be run by user
www-data
using sudo. This involves enabling some commands in/etc/sudoers
file, e.g.The text was updated successfully, but these errors were encountered: