[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sarge :sudo



n r a écrit, mardi 10 avril 2007, à 13:04 :
> bonjour,

bonjour,

> j'ai voulu tester sudo !!
> Je modifie le fichier "sudoers" en rajoutant cette ligne
> webm    ALL=(root) NOPASSWD:/usr/bin/chgrp www-data /homed
______________________________^^^^

> Sorry, user webm is not allowed to execute '/bin/chgrp www-data /homed' as 
> root on serveur.domain.fr !!
> 
> je ne vois pas mon erreur ??

 /bin/chgrp != /usr/bin/chgrp :)

-- 
Jacques L'helgoualc'h



Reply to: