On 25 Jul 2003 09:07:06 -0400
Ben Hall <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I'm preparing a small Linux lab and need to lock it down so that
> users cannot halt/reboot the system.  Whenever one logs out of gnome
> they are prompted with these options.  I searched the net to see how
> to disable this behaviour and it was suggested that I should change
> the settings in/etc/pam.d/shutdown and reboot.  I set both of these
> to: 
> 
> auth       required     pam_rootok.so
> 
> Now users cannot reboot or halt the systems, but they are still
> given the options when they log out.  How does one remove these
> options? (Maybe the pam changes I made were incorrect?)
> 
  On my RedHat 7.0 system, this seems to be controlled in:

         /etc/X11/gdm/gdm.conf

  Look for the lines:

  RebootCommand=
  HaltCommand=

Perhaps commenting them out will do what you want.


                          Regards,

                           Tom
  

  


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to