Re: Disable reboot/shutdown command on login banner

From: Dances With Crows (danSPANceswitTRAPhcrows_at_usa.net)
Date: 02/24/04


Date: 24 Feb 2004 17:14:06 GMT

On Tue, 24 Feb 2004 17:24:31 +0100, Vincent Aaron staggered into the
Black Sun and said:
> All users are allow to reboot or shutdown there Linux Box on the login
> banner. How can I disable this fonction?

You didn't mention which "login banner" application you're using. You
usually use xdm, kdm, or gdm to display a picture and a login/password
window. Which one are you using?

For kdm, KDE Control Center->System Administration->Login Manager->
Shutdown. Click the "administrator mode" button, enter your root
password, change the "allow shutdown" boxes to "only root" for local and
"nobody" for remote. If you're not using kdm, post the name of the
login manager you're using. Also, take a look at
http://catb.org/~esr/faqs/smart-questions.html for advice on asking good
questions on Usenet. HTH,

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /    mail: TRAP + SPAN don't belong
http://www.brainbench.com     /                Hire me! 
-----------------------------/ http://crow202.dyndns.org/~mhgraham/resume

Quantcast