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 u... 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
- RE: need to allow non-r... Babu, Sreedhar (CAP, GCF, Satyam, Consultant)