sudoers allows you to set shutdown to work for all users. The list
actually gave me three or four ways to do this about a month ago
but this is the way I choose to do it.
Linda Hanigan
On Sat, 9 Nov 2002, 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?
>
> Thanks
> bdavis
>
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list