Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Defaults env_reset
- Defaults mail_badpass
- # Se agrega ':/opt/bin' a la variable 'secure_path'
- Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
- Defaults use_pty
- # Alias de comandos administrativos de samba
- Cmnd_Alias SYSD_NMBD = /usr/bin/systemctl * nmbd*
- Cmnd_Alias USRS_NMBD = /opt/bin/addsambauser *, \
- /usr/bin/smbpasswd -[ade] *
- Cmnd_Alias CONF_NMBD = /usr/bin/nano /etc/samba/smb.conf
- root ALL=(ALL:ALL) ALL
- %sudo ALL=(ALL:ALL) ALL
- # grupo de usuarios administradores del servicio samba
- %sambaadmin debian=(root:root) SYSD_NMBD, USRS_NMBD, CONF_NMBD
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement