[CentOS] Disabling shutdown button
Web and Co sprl - Patrick DERWAEL
pderwael at webandco.be
Wed Jun 27 17:22:25 UTC 2007
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/> http://www.webandco.be
<http://www.webandco.be/default/conditions-generales.pdf> Nos Conditions
générales
-----------------------------------------
<http://www.webandco.be/reseau/audit-securite-informatique.asp> ICT &
Security management
<http://www.webandco.be/developpement/creation-site-web-internet.asp>
Création,
<http://www.webandco.be/developpement/maintenance-site-web-internet.asp>
gestion et <http://www.webandco.be/referencement/accueil.asp> référencement
de sites Web
<http://www.webandco.be/hebergement/accueil.asp> Hébergement et
<http://www.webandco.be/domaine/accueil.asp> noms de domaine
_____
From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf
Of Jim Wight
Sent: mercredi 27 juin 2007 17:25
To: CentOS mailing list
Subject: Re: [CentOS] 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 at centos.org
http://lists.centos.org/mailman/listinfo/centos
_____
avast! Antivirus <http://www.avast.com> : 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20070627/49fddd8f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2815 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20070627/49fddd8f/attachment.bin>
More information about the CentOS
mailing list