sudo recalcitrant
Re-bonjour
Je ne réussis pas à utiliser sudo sans mot de passe :
arnaud@debian:~$ sudo /sbin/shutdown -r now
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these two things:
#1) Respect the privacy of others.
#2) Think before you type.
Password:
Pourtant, voici mon /etc/sudoers :
Host_Alias ICI = localhost, 127.0.0.1, localhost.localdomain
User_Alias ROOT_FRIENDS = arnaud
ROOT_FRIENDS ICI = NOPASSWD: /sbin/shutdown -r now, /sbin/shutdown -h now
Si j'active en plus l'option
Defaults:ROOT_FRIENDS !authenticate
j'ai ce message :
arnaud@debian:~$ sudo /sbin/shutdown -r now
arnaud is not allowed to run sudo on debian. This incident will be
reported.
J'ai pas dû bien la comprendre, celle-là...
Une idée ?
--
La citation du jour :
Demain n'est pas plus proche d'aujourd'hui qu'hier,
pourtant on y sera plus vite.
ROX-Filer 2.0.1 < http://rox.sourceforge.net >
________________________________________________
A r n a u d C a l v o 47°43'60N 0°31'0W
Reply to: