Hi again, On the next page of the customization guide,
http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/s1-access-console-program.html it says: ... To remove these abilities, run the following commands as root: rm -f /etc/security/console.apps/poweroff rm -f /etc/security/console.apps/halt rm -f /etc/security/console.apps/reboot That's what I did on my server, and when a user tries to shutdown, it just logs him out to the machine prompt (I run this machine at boot level 3). Hope this help Bernard Henrik Schmiediche wrote: >Thanks for the info. Unfortunately this only works in the console. Under >GNOME the system still shuts down on user command---nothing I do seems to >disable it. > >Sincerely, > > - Henrik > >----- Original Message ----- >From: "Bernard Giroux" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Monday, June 10, 2002 3:03 PM >Subject: Re: Gnome RH 7.3 and preventing user initialed reboots/shutdowns... > > >>You can find how to do this at >> >> >http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/ch-cons >ole-access.html > >>Henrik Schmiediche wrote: >> >>> Hello, >>>I configure the gdm.conf file in /etc/X11/gdm and comment out the >>>RebootCommand and HaltCommand (or set them to /bin/false) to prevent >>> >users > >>>from shutting down the system. Still, the system will blissfully >> >shutdown. > >>>How do I prevent user initiated shutdowns in GNOME? I had no problems >>>configuring this in KDE. I do use the KDM session manager. >>> >>>Sincerely, >>> >>> - Henrik >>> >>> >>> >>> >>>_______________________________________________ >>>Redhat-list mailing list >>>[EMAIL PROTECTED] >>>https://listman.redhat.com/mailman/listinfo/redhat-list >>> >>-- >>Bernard Giroux, ing., Ph.D. Département des génies CGM >>Associé de recherche École Polytechnique >>Tel: (514) 340-4711, ext. 5233 C.P. 6079, succ. A >>Fax: (514) 340-3970 Montréal, Qc, H3C 3A7, CANADA >> >> >> >> >> >>_______________________________________________ >>Redhat-list mailing list >>[EMAIL PROTECTED] >>https://listman.redhat.com/mailman/listinfo/redhat-list >> > > > >_______________________________________________ >Redhat-list mailing list >[EMAIL PROTECTED] >https://listman.redhat.com/mailman/listinfo/redhat-list > -- Bernard Giroux, ing., Ph.D. Département des génies CGM Associé de recherche École Polytechnique Tel: (514) 340-4711, ext. 5233 C.P. 6079, succ. A Fax: (514) 340-3970 Montréal, Qc, H3C 3A7, CANADA _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list