That did the trick! Thanks. The manual looks much improved.
On Fri, 28 Jan 2005, Kristian Niemi wrote:
As Xfce4-2:s friendly manual[1] explained to me, I have to add
"/usr/libexec/xfsm-shutdown-helper" to be accessed by sudoers; i.e., adding
/sbin/shutdown doesn't do it for xfce4.
So I have the following in my /etc/sudoers -file:
-----------------------
Cmnd_Alias SHUTDOWN = /sbin/shutdown, /usr/libexec/xfsm-shutdown-helper
myuser ALL = NOPASSWD: SHUTDOWN
-----------------------
Without adding the xfsm-shutdown-helper it didn't work for me either, after I
added it: no problems.
Hope it helps.
h: Kristian
[1] Most likely found on your local system as well, but an online version is
available at, for instance, the following location:
http://www.loculus.nl/xfce/documentation/docs-4.2/xfce4-session.html
Brett I. Holcomb wrote:
Nope. I added
myuser localhost=/sbin/shutdown using visudo. I logged out, logged back
in and still no options. Sudo is installed.
I left the %users localhost=/sbin/shutdown -h now commented as I don't
want all users to be able to do this. What am I missing?
On Thu, 27 Jan 2005, Aaron Kulbe wrote:
> [EMAIL PROTECTED] wrote:
>
> > Hm, this is interesting. I installed 4.2 when it became stable over
> > the weekend and it has the power off or reboot grayed out. I know
> > xfce4 4.2 has configure options to enable this but the ebuild doesn't
> > show any use flags for it and I haven't had a chance to investigate
> > further. Howe do I get it to let me do this. My user is a member of
> > the wheel group and can do su -.
> >
> > Thanks.
> >
> >
> > > From: Nick Rout <[EMAIL PROTECTED]>
> > > Date: 2005/01/27 Thu AM 06:03:14 GMT
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: [gentoo-user] exiting wm xfce4
> > > > xfce4 version 4.2 is now stable on x86. It has options to reboot
> > or halt
> > > when you use the exit button from the panel. if you want to halt or
> > > reboot you need to give your user password.
> > > > On Thu, 2005-01-13 at 07:42 +0000, Russ Brown wrote:
> > > > > HK wrote:
> > > > > > > n_powell wrote:
> > >
> >
> > --
> > [email protected] mailing list
> >
> Having just gone through this, I know how to get it done.
>
> You need to install sudo, and your user needs to be configured in the
> /etc/sudoers file. man sudoers will give you the info for this.
>
> In the /etc/sudoers file, there are options for shutdown that are
> commented by default. Uncomment them and you will have access to the
> shutdown/reboot options from withing XFCE4.
>
> Aaron Kulbe
> a.k.a. SuperLag on FreeNode.
>
> --
> [email protected] mailing list
>
>
--
Brett I. Holcomb
[EMAIL PROTECTED]
Registered Linux User #188143
Remove R777 to email
--
[email protected] mailing list