Danielle a écrit :
> D'autre part, inconvénient, il faut 
> donner le mot de passe.

Il suffit d'ajouter deux lignes dans /etc/sudoers:

Cmnd_Alias SHUTDOWN_CMDS = /sbin/shutdown, /etc/acpi/hibernate.sh, 
/etc/acpi/sleep.sh

<your username> ALL=(ALL) NOPASSWD: SHUTDOWN_CMDS

Remplace <your username> par ton login.


-- 
Michel Leunen
http://linux.leunen.com

-- 
ubuntu-fr mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr

Répondre à