On Mon, May 03, 1999 at 07:32:38PM +0200, Helge Hafting wrote: > If you want anybody to shutdown without password, make > /sbin/shutdown a suid executable. Make shutdown a menu choice > in your window manager for user friendliness. > > Don't do the suid thing unless *anybody* logging into your machine > should be able to stop it! This includes logging in > via network or possibly the internet. > It is ok for an unconnected home machine though. You might create a group of trusted people (local perhaps?), change the group of /sbin/shutdown to this group and remove the x bit for 'other': chgrp local /sbin/shutdown chmod o-x /sbin/shutdown Now only user in group local may shutdown the machine. Nils -- Plug-and-Play is really nice, unfortunately it only works 50% of the time. To be specific the "Plug" almost always works. --unknown source
Attachment:
pgpEStEol5FUW.pgp
Description: PGP signature