Skip to content
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

Open
srekkas opened this issue Jun 20, 2018 · 0 comments
Open

Sudoers.d #14

srekkas opened this issue Jun 20, 2018 · 0 comments

Comments

@srekkas
Copy link

srekkas commented Jun 20, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant