Results 1 to 10 of 11
Is it possible in Linux to require a password to shutdown/restart/logoff the computer?
Thanks!...
- 05-20-2005 #1Just Joined!
- Join Date
- May 2005
- Posts
- 20
Password to Shutdown?
Is it possible in Linux to require a password to shutdown/restart/logoff the computer?
Thanks!
- 05-20-2005 #2
Shutdown can only be run by root in the terminal.
As far as shutting down from your X Server with their reset button, I can only help you out with KDE.
In the KDE Control Panel, go to KDE Components --> Session Manager. Unselect "Offer Shutdown Options". My assumption is that this will rid you of shutdown options.DISTRO=Arch
Registered Linux User #388732
- 05-20-2005 #3Linux Engineer
- Join Date
- Mar 2005
- Posts
- 1,431
In some distros like fedora, mandriva etc. you can run the command "poweroff" as a normal user in the terminal... I dunno how to disable this one thought, some fedora/mandriva guru might help you out... Tell us which distro you're using and if youre using a loginmanager/which login manager...
- 05-20-2005 #4
Re: Password to Shutdown?
Yes that is possible.
Originally Posted by MJanofsky
- 05-20-2005 #5Just Joined!
- Join Date
- May 2005
- Posts
- 20
Re: Password to Shutdown?
How?
Originally Posted by puntmuts
- 05-20-2005 #6
Re: Password to Shutdown?
Tell us what Linux distro you are using and we can tell you.
Originally Posted by MJanofsky
- 05-20-2005 #7Just Joined!
- Join Date
- May 2005
- Posts
- 20
Fedora Core 3. Thanks!
- 05-27-2005 #8Just Joined!
- Join Date
- Apr 2005
- Location
- Atlanta
- Posts
- 55
Re:
Isn't there a file named shutdown.allow file that you can modify to allow that?
- 05-27-2005 #9Linux Engineer
- Join Date
- Jan 2005
- Location
- Chicago (USA)
- Posts
- 1,028
Change the permissions of /sbin/halt.
- 05-27-2005 #10Linux Engineer
- Join Date
- Mar 2005
- Posts
- 1,431
And /sbin/poweroff and /sbin/reboot, and maybe /sbin/shutdown if not /sbin/shutdown stops you by default.
Originally Posted by a thing


Reply With Quote