On Sat, 2002-11-09 at 17:32, Billy Davis wrote:
> We are running RH 7.2 and need a way to allow a non-root user to login in text mode, 
>and select a Shutdown option from a text menu that is displayed by a shell script.  
>Currently, when the user selects Shutdown, the script tries to execute a 
>'/sbin/shutdown -ah now' command, but the system replies with: 'shutdown: must be 
>root'.   Is there any way to allow the command to work with a non-root user?

I am currently doing this on a 7.2 system. I installed the sudo package
that came on the cd. From there you can configure sudo to allow
whichever users (or groups) to run shutdown (or whatever commands) that
you prefer.

-- 
Doug

Registered Linux User #285548
http://counter.li.org
--------------------------------------
Random Thought:

A prediction is worth twenty explanations.
                -- K. Brecher



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to