Le 19/06/2016 10:41, emnin...@riseup.net a écrit :
Am Sat, 18 Jun 2016 08:49:39 +0000
schrieb Didier Kryn <k...@in2p3.fr>:

Salut Didier!

      I have created two launcher files invoking /sbin/halt and
/sbin/reboot, with sensible icons, and then dragged them into the
pannels of all 4 users of the desktop. And I have added the following
line to the sudoers file:

ALL    myhostname = (root) NOPASSWD: /sbin/halt, /sbin/reboot,
/sbin/shutdown
i've pretty much the same (only i use a pre-fabricated tool, cb-exit, a
logout tool of which once was done for crunchbang, a python script btw).

Did you put the command you actually call in the (coma separated) list, along with halt and reboot? This command should also be owned by root and be in the secure_path as specified in /etc/sudoers.

    Didier

_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to