j'ai trouvé pour moi, au lieu de mettre localhost, fallait mettre Fixe (nom de mon PC)
moi j'ai ca :
[jeep05@Fixe jeep05]$ sudo eaglediag
jeep05 is not allowed to run sudo on Fixe. This incident will be reported.
Citation :
# Cmnd alias specification
Cmnd_Alias ADSLONOFF = /usr/local/sbin/startadsl, /usr/local/sbin/stopadsl, /usr/local/sbin/eaglediag
# Defaults specification
# User privilege specification
root ALL=(ALL) ALL
jeep05 localhost = NOPASSWD:ADSLONOFF
mr simon
Bonjour,
J'aimerais pouvoir lancer apache en tant que simple utilisateur, j'ai donc chercher sur le net des manuels concernant sudo. Voila ce que j'ai dans mon /etc/sudoerc :
Mais lorsque que je tape sudo apachectl start, j'ai cette erreur : "Sorry, user ticho is not allowed to execute 'apachectl start' as root on ma_machine."