[Tfug] How to allow the user to reboot?
jblais
joe.blais at pti-instruments.com
Fri Nov 9 15:23:37 MST 2007
Oh! Oh! I got reported, tsk tsk!
I was able to edit with visudo, there was even an example at the bottom of
the file, I just need to figure out how to get the nopassword to "take"
Thank you....
Joe
> -----Original Message-----
> From: tfug-bounces at tfug.org [mailto:tfug-bounces at tfug.org]On Behalf Of
> Andrew Ayre
> Sent: Friday, November 09, 2007 2:50 PM
> To: Tucson Free Unix Group
> Subject: Re: [Tfug] How to allow the user to reboot?
>
>
> One way:
>
> Add it to /etc/sudoers with the NOPASSWD option. Then any user can type:
>
> sudo /sbin/shutdown -h now
>
> The users might have to belong to the sudo group - not sure.
>
> Andy
>
> jblais wrote:
> > Hello -
> >
> > Yet another dumb question -- I guess it's from running
> point-n-click stuff
> > too much.
> >
> >
> > Fedora 5, gnome desktop.
> >
> > Generally you need to be root to do a '/sbin/shutdown -h now',
> so, how does
> > the gnome desktop do a shutdown when you're a regular user?
> >
> > Can that command be accessed by a user's script?
> >
> > Thanks
> >
> > Joe
> >
> >
> > _______________________________________________
> > Tucson Free Unix Group - tfug at tfug.org
> > Subscription Options:
> > http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> >
> >
> >
>
> --
> Andy
> PGP Key ID: 0x67090A54
>
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
>
>
More information about the tfug
mailing list