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-----
Hash: SHA1

Brett wrote:
> 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.

RTFM:
http://www.loculus.nl/xfce/documentation/docs-4.2/xfce4-session.html#xfsm-shutdown

	-brian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC7DkE6XyW6VEeAnsRAlUDAKDShwiULDP2iF0QsZAc5iA9l/hRlQCeN6Q6
6vO+b2wFzHGxQibU5zbkYHg=
=Jgnm
-----END PGP SIGNATURE-----



More information about the Xfce mailing list