Last active
January 2, 2016 12:18
-
-
Save skarllot/8301991 to your computer and use it in GitHub Desktop.
Configure sudoers to Webacula
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## /etc/sudoers.d/webacula | |
Defaults:apache !requiretty | |
apache ALL=(bacula) NOPASSWD: /usr/sbin/bconsole | |
## Bareos | |
# apache ALL=(bareos) NOPASSWD: /usr/sbin/bconsole | |
## Test using: | |
## `su -l apache -s /bin/sh \ | |
## -c "/usr/bin/sudo -u bacula /usr/sbin/bconsole -n -c /etc/bacula/bconsole.conf"` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment