RE: Disabling shutdown button

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Title: Re: Disabling shutdown button

Jim,

 

That does partially do the job: when you click on shutdown or reboot, it simply restarts the X server.

I can live with that, but I would prefer a neater solution where those options are no longer available/visible

 

Thanks !

 

Patrick Derwael
WEB And Co sprl
Rue Hubert Larock, 20
B - 4280 Poucet
Belgium

http://www.webandco.be
Nos Conditions générales
-----------------------------------------
ICT & Security management
Création, gestion et référencement de sites Web
Hébergement et noms de domaine


From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of Jim Wight
Sent: mercredi 27 juin 2007 17:25
To: CentOS mailing list
Subject: Re: Disabling shutdown button

 

On Wed, 2007-06-27 at 16:58 +0200, Web and Co sprl - P. Derwael wrote:
> What I mean is the shutdown option that you have at the GUI screen before
> login.
> In other words, I would like to prevent anyone from shutting down my
> system before logging in.

I've done a similar thing on Fedora systems by putting the following
in /etc/gdm/custom.conf

[daemon]
HaltCommand=
RebootCommand=

I don't have any CentOS boxes with a GUI screen to check it on, but I
wouldn't be surprised if it was equally applicable there.

Jim


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




avast! Antivirus: Inbound message clean.

Virus Database (VPS): 000752-2, 27/06/2007
Tested on: 27/06/2007 18:20:34
avast! - copyright (c) 1988-2007 ALWIL Software.


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux