> > I've added the following to the bottom of my sudo file using 'visudo'
> > and there are no complaints of bad syntax, but grant still can't shut down 
> > the system:
> >
> > grant system4 = /sbin/shutdown -h now
> >
> > What am I missing?
> >
> >
> > - Grant
>
> First try to edit one of the examples and see if that works.  For example try 
> this one:
>
> %users  localhost=/sbin/shutdown -h now
>
> Replace %users with the group for grant.
>
> Jim

I actually tried that first and when that failed I tried something
like that specified here:

www.gentoo.org/doc/en/sudo-guide.xml

Either way I get:

[EMAIL PROTECTED] ~ $ /sbin/shutdown -h now
shutdown: you must be root to do that!

- Grant

-- 
[email protected] mailing list

Reply via email to