Title: Message
i am not sure if RH 7.2 comes with sudo utility installed on it. i am working on RH 8.0 and sudo utility is bundled with OS and its installed by default. Using visudo utility configure this normal user to be able to execute shutdown command the way you need. man sudoers and man visudo could help you.
 
-----Original Message-----
From: Billy Davis [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 09, 2002 18:32
To: [EMAIL PROTECTED]
Subject: need to allow non-root user to run shutdown

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?
 
Thanks
bdavis 

Reply via email to