* Rick Bonczek <[EMAIL PROTECTED]> [991226 22:12]:
> 
>    When I log in as root, I can issue the command "shutdown -h now", but
>    when I log in as a normal user, I cannot.
>    
>    How can I give a normal user the rights to shutdown a Linux
>    workstation.

If you want to be able to shut down with a Ctrl-Alt-Delete, you can
(as root) change this line in /etc/inittab:

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

to

ca::ctrlaltdel:/sbin/shutdown -t3 -h now

If you want only certain users to be able to shut it down, you can add
an -a flag to shutdown.  Check "man shutdown" for details on this.

-- 
Jan Wilson                   _/*];          [EMAIL PROTECTED]
Corozal Community College    |  |:'  Corozal Junior College
Corozal Town, Belize         |  /'          Central America
Visit our Corozal site       |_/     http://www.corozal.com

Reply via email to