I don't know as my user can do ALL via sudo.

On Thu, 2005-01-27 at 23:12 -0500, 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:
> >> > 
> >> 
> >> 
> >>  --
> >>  gentoo-user@gentoo.org 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.
> >
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
> 
-- 
Nick Rout <[EMAIL PROTECTED]>


--
gentoo-user@gentoo.org mailing list

Reply via email to