Shutting down as user (Here's how)

Page principale
Attachements:
Message en tant que courrier électronique
+ (text/plain)
Supprimer ce message
Répondre à ce message
Auteur: Dennis Kibbe
Date:  
À: PLUG List
Sujet: 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