salut,
Alors la doc
sodoers m'a bien aidé personellement.
Pourrais t'on avoir ton fichier
/etc/sudoers ?
Voici le mien (si ca peut t'aider) avec les droits pour la commande shutdown (que j'utilise pour eteindre mon pc sous fluxbox):
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
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
# Allow members of group sudo to execute any command after they have
# provided their password
# (Note that later entries override this, so you might need to move
# it further down)
%sudo ALL=(ALL) ALL
#
#includedir /etc/sudoers.d
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
#privileges perso
ALL ALL=NOPASSWD:/sbin/shutdown
[EDIT] Doc (peut etre trop) complete:
Sudoers Manual