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
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@centos.org
[mailto:centos-bounces@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@centos.org
http://lists.centos.org/mailman/listinfo/centos