[Gllug] Shutting down Linux?

Mike Brodbelt mike at coruscant.demon.co.uk
Sun Dec 9 14:00:05 UTC 2001


On Sun, 2001-12-09 at 13:33, Chris Ball wrote:

> 
> Just a shutdown -h now will not work when you're logged in to your GUI -
> you won't be root, and won't have any authority to shut down the system.
> Use your display manager (which runs setuid) or a setuid shell script.

Setuid shell scripts don't work on Linux, for security reasons. Only
binaries will have the setuid bit respected. You can use sudo to allow
non-root users to execute shutdown as root, if you need to.

Mike.


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list