What to put in sudoers to shutdown from Xfce?
Brian J. Tarricone
bjt23 at cornell.edu
Sun Jul 31 04:35:48 CEST 2005
-----BEGIN PGP SIGNED MESSAGE-----
> OK I have been using Gnome for years with Red Hat and never needed to use
> sudo before. I understand I need sudo to shutdown my system with Xfce. For
> some reason my brain cannot latch onto the correct entries I need to put
> in the sudoers file to allow one user to perform a simple shutdown -h now.
> I tried "userName localhost=/sbin/shutdown -h now", this makes the reboot
> and turn off computer options active but then it asks my pasword and
> denies my shuting down the system anyway. I'm at a loss.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the Xfce