-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
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
Sudoers.d #14
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo_zbx-zimbra.conf won't work with extension .conf. At least in Centos 7.
And it need to be created like that "sudo visudo -f /etc/sudoers.d/sudo_zbx-zimbra", so it will be created with correct permissions. You can update readme :)
And i changed "Cmnd_Alias ZIMBRA_BIN_ZABBIX = /opt/zimbra/bin/zmcontrol status, /opt/zimbra/bin/zmcontrol -v" line, that it cant stop services accidentally.
From manual:
sudo will read each file in /etc/sudoers.d, skipping file names that end in ‘~’ or contain a ‘.’ character to avoid causing problems with package manager or editor temporary/backup files.
The text was updated successfully, but these errors were encountered: