Created
May 3, 2019 14:31
-
-
Save DavidePrincipi/20c4f0745f5cb15e147aaf6acffacd29 to your computer and use it in GitHub Desktop.
sudoers.d configuration
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
# ================= DO NOT MODIFY THIS FILE ================= | |
# | |
# Manual changes will be lost when this file is regenerated. | |
# | |
# Please read the developer's guide, which is available | |
# at NethServer official site: https://www.nethserver.org | |
# | |
# | |
# | |
# default group administrator domain admins | |
# | |
Cmnd_Alias DOMAINADMINS = /usr/libexec/nethserver/api/*/*, /usr/libexec/nethserver/api/*/*/* | |
%domain\ admins ALL=NOPASSWD: DOMAINADMINS | |
# server-manager does not require a tty | |
Defaults:%domain\ admins !requiretty | |
# | |
# Role delegations for wg1 | |
# | |
Cmnd_Alias WG1= /usr/libexec/nethserver/api/system-*/read, /usr/libexec/nethserver/api/system-roles/*, /usr/libexec/nethserver/api/system-password-policy/*, /usr/libexec/nethserver/api/system-accounts-provider/*, /usr/libexec/nethserver/api/system-users/*, /usr/libexec/nethserver/api/nethserver-mail/* | |
%wg1 ALL=NOPASSWD: WG1 | |
Defaults:%wg1 !requiretty |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment