Xfce4 Exit fails (Debian Sarge)(almost good)

Piotr Chmura chmooreck at poczta.onet.pl
Fri Nov 12 14:15:34 CET 2004


Dnia Fri, 12 Nov 2004 13:12:38 +0100, <j.markoll at free.fr> napisał:

> Selon j.markoll at free.fr:
>
>> Selon Piotr Chmura <chmooreck at poczta.onet.pl>:
>
>> > you must change 'user' and 'host' to your user name and 'host' to your
>> > host name of course... f.e.:
>> > frank slack1 = NOPASSWD: /usr/libexec/xfsm-shutdown-helper
>> > did you ?
>
>> joyce papillon = NOPASSWD: /usr/libexec/xfsm-shutdown-helper
>
>> > then this user should be able to turn off, or reboot computer from  
>> xfce
>> > exit button...
>> greetings
>> > ChmOOrecK
> Console or GUI I can halt or reboot since I added apm in the  
> /etc/modules file,
> but only root.
> Is it possible to get reboot/or halt as user ? (even if I don't upgrade
> instantly to new version ?)Is there still something wrong in my sudoers  
> file ?
> Thank you, and best greetings, J.M

You can add more commands to sudoers, comma separated f.e.:
user host = NOPASSWD: /sbin/shutdown -t 2 -r now, /sbin/shutdown -t 2 -h  
now, /usr/libexec/xfsm-shutdown-helper

Of course change user & host...

You can then use my script for doing it from GUI...

have fun :-)

ChmOOrecK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xexit
Type: application/octet-stream
Size: 221 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20041112/fd3474bc/attachment.obj>


More information about the Xfce mailing list