xfce4-session - reboot and halt

Ladanyi Akos ladanyi at tmit.bme.hu
Thu Oct 7 20:37:40 CEST 2004


Hi,

I wanted to enable the two inactive radio buttons in xfce4-session's 
logout dialog
('Reboot the computer' and 'Turn of the computer'). So I run configure 
--with-shutdown-style=sudo
and configured sudo to give access to the commands reboot, halt and 
shutdown.

Now sudo -l gives:
User akos may run the following commands on this host:
    (root) NOPASSWD: /sbin/halt
    (root) NOPASSWD: /sbin/reboot
    (root) NOPASSWD: /sbin/shutdown

And it works from the commandline (i.e. when I type 'sudo /sbin/reboot' 
then the machine
reboots without asking for a password).

But the last two optios are still grayed out in the logout dialog. What 
else do I need to
do to enable them?

regards,
Akos



More information about the Xfce mailing list