Craig Jackson wrote: > # chmod +s /sbin/shutdown > > This is not something I would do though. Why don't you do this when you > want to shut down:
I recommend against doing that chmod on shutdown. It has not been inspected for security holes and that might open big ones. If you really want any user that can log into the box to be able to reboot it then instead, install sudo, then put something like this in the sudoers file (using visudo). ALL ALL=NOPASSWD: /sbin/shutdown If you just want users on the console to reboot then just have them CNTL-ALT-DELETE the keyboard. Alternatively both kdm and gdm have reboot options on their login manager screen. This is by far safest for anything but a kiosk. Bob
msg25212/pgp00000.pgp
Description: PGP signature