# /etc/sudoers # This file MUST be edited with the 'visudo' command as root. # See the man page for details on how to write a sudoers file. Defaults env_reset # Uncomment to allow members of group sudo to not need a password # %sudo ALL=NOPASSWD: ALL # Host alias specification # User alias specification # Cmnd alias specification # User privilege specification root ALL=(ALL) ALL # Host alias specification Host_Alias ICI = localhost Host_Alias LOCALNET = 192.168.1.* # User alias specification User_Alias ROOT_FRIENDS = tnt # alias specification Cmnd_Alias SHUTDOWN= /sbin/shutdown, /sbin/halt, /sbin/reboot # Runas alias specification # User privilege specification # Les amis de root peuvent lancer les commandes # du groupe SHUTDOWN ROOT_FRIENDS ICI = NOPASSWD: SHUTDOWN