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
|
RE: need to allow non-root user to run shutdown
Babu, Sreedhar (CAP, GCF, Satyam, Consultant) Sat, 09 Nov 2002 11:24:14 -0800
Title: Message
- need to allow non-root user ... Billy Davis
- Re: need to allow non-r... Ski Dawg
- Re: need to allow non-r... Anthony Abby
- Re: need to allow non-r... hanfamily
- Babu, Sreedhar (CAP, GCF, Satyam, Consultant)