Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Defaults env_reset
- Defaults mail_badpass
- Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
- Cmnd_Alias APACHE2SYSDADMIN = /usr/bin/systemctl start apache2, \
- /usr/bin/systemctl restart apache2, \
- /usr/bin/systemctl reload apache2, \
- /usr/bin/systemctl status apache2, \
- /usr/bin/journalctl --no-pager -u apache2
- Cmnd_Alias APACHE2SRVDADMIN = /usr/bin/systemctl stop apache2, \
- /usr/bin/systemctl disable apache2, \
- /usr/bin/journalctl -u apache2*, \
- /usr/bin/vim /etc/apache2/*, \
- /usr/sbin/apache2ctl*, \
- /usr/sbin/a2en*
- root ALL=(ALL:ALL) ALL
- educacionit ALL=(ALL) ALL
- %apachesystemdadmin ALL=(root) APACHE2SYSDADMIN
- %apacheserveradmin ALL=(root) APACHE2SYSDADMIN, APACHE2SRVDADMIN
- %sudo ALL=(ALL:ALL) ALL
- @includedir /etc/sudoers.d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement