-----BEGIN PGP SIGNED MESSAGE----- On Sun, 5 Sep 1999, Mark Bathie wrote:
> I am trying to set up my home system for friends to use, what is the best > way to allow them access to some sort of reboot command ? I would use the ctrl-alt-del key combination. The first thing to do is edit /etc/shutdown.allow to include only those users who should be allowed to shut the system down. Then, edit the line in /etc/inittab like this: # What to do when CTRL-ALT-DEL is pressed. ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now The -a option tells it to allow only those users in /etc/shutdown.allow The advantage of this over sudo is that they can only shut it down from the console, no practical jokes shutting things off through telnet/ssh. Note that even logging into X won't work, they have to login to a vt. - -- finger for PGP public key. -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv iQCVAwUBN9Lodb7M/9WKZLW5AQGJlAP/bk8AaX0AviTzVR8GhLabEo2ZOxI7kDkn c37dz9/mqFACxNOHKgj/mXZteKOw4Sdj7yOrqWE8u5vu/tbDNb0Irj/OWUJe2HxD kwK6SD83cW6cEBIFSsKc+r+8s/zN6CGf2PFPO8jcvNzpNM17v3vDt6TwEXW5TeHA jxWmMFqZ9mk= =SA2J -----END PGP SIGNATURE-----