forked from evolix/ansible-roles
Jérémy Lecour
7b88393ccf
* rename admin-users to evolinux-users * splitting the "sudo" part for users between jessie and stretch * with stretch, the sudo group is customizable and properly configured * import evolinux-users role from evolinux-base at proper time to ensure ssh connections are possible for other users before cutting root's access * evomaintenance is also included in evolinux-base to have it available when users are created
11 lines
408 B
Django/Jinja
11 lines
408 B
Django/Jinja
Defaults umask=0077
|
|
|
|
Cmnd_Alias MAINT = /usr/share/scripts/evomaintenance.sh, /usr/share/scripts/listupgrade.sh, /usr/bin/apt, /bin/mount
|
|
User_Alias ADMINS = {{ user.name }}
|
|
|
|
nagios ALL = NOPASSWD: /usr/lib/nagios/plugins/check_procs
|
|
nagios ALL = (clamav) NOPASSWD: /usr/bin/clamscan /tmp/safe.txt
|
|
|
|
ADMINS ALL = (ALL:ALL) ALL
|
|
ADMINS ALL = NOPASSWD: MAINT
|