I cannot get the shutdown and reboot options

Anthony Ewell aewell at gbis.com
Fri Nov 24 04:04:30 CET 2006


Terry wrote:
> I've tried amending the "sudoers" file as directed, created a "sudo" 
> group and added myself to it, all to no avail.  I also amended that file 
> by giving myself the right to shutdown and reboot.
> 
> Nothing has worked.  It's a bit ridiculous because I am the only user.
> 
> I cannot find the secret formula.  What do I do?


Hi Terry,

    This is my custom entries in my /etc/sudoers file:

# XFce stuff
%users ALL=NOPASSWD:/usr/libexec/xfsm-shutdown-helper

# General stuff
%users  ALL=PASSWD:/usr/sbin/gdmsetup
%users  ALL=/usr/sbin/kppp
%users  ALL=/usr/sbin/pppd
%users  ALL=/usr/sbin/system-config-network
%users  ALL=/sbin/shutdown
%users  ALL=/sbin/halt
%users  ALL=/sbin/reboot
%users  ALL=/sbin/poweroff


Paths my vary.  See if your sudoers matches mine.

Also, make sure you can do a "which"
(which xfsm-shutdown-helper) on all you files to
make sure they have the correct paths.

If this doesn't help, run /usr/libexec/xfsm-shutdown-helper
from the command line and post it to the group along with
your custom entries from sudoers.

HTH,
--Tony



More information about the Xfce mailing list