Shutting down as user (Here's how)

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Dennis Kibbe
Dato:  
Til: PLUG List
Emne: Shutting down as user (Here's how)
A couple of people asked about this at the InstallFest. Here's how you do it in Slackware.

You'll find this line in /etc/inittab

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

First backup the file then edit the line to read

ca::ctrlaltdel:/sbin/shutdown -t5 -h -a now

Now create /etc/shutdown.allow and add each user that you want to allow to shutdown the computer to this file, one user per line.

Now, ctrl alt del will shutdown the computer from the command line.

See

man ctrlaltdel
man shutdown
man init
man inittab

for details

Dennisk
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss