man sudo
On Sat, 2002-11-09 at 12: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? > > Thanks > bdavis -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list