Thanks Kevin,
>From the GNOME desktop a non privileged user can shutdown the system.
Is there some way to make disable that for non privileged users?
//Ger
--
Gerard Hooton.
Department of Electrical & Electronic Engineering
University College Cork.
College Road.
Cork.
Tel: +353 21 4902296
-----Original Message-----
From: Kevin Lyda <kevin at ie.suberic.net>
To: g.hooton at ucc.ie
Cc: Irish Linux Users Group <ilug at linux.ie>
Subject: Re: [ILUG] Shutdown
Date: Fri, 11 Feb 2011 11:06:15 +0000
Stopping non-privileged users from restarting/stopping a machine:
* command: Don't give them root access.
* power button: Don't give them physical access to the machine.
* power lead: Don't give them physical access to the machine.
Without monitored battery backup, the computer will have no way to
tell you if the power was lost. Not sure how at all with a power
button that's a physical switch. There may be a way to intercept
events from a software-type power button.
Kevin
On Fri, Feb 11, 2011 at 10:03, Ger Hooton <g.hooton at ucc.ie> wrote:
> Hi all,
> Q1: How can I find out how a machine was shutdown, was it from a
> command, power on/off button, pulling out the power lead? I have look
> in /var/log/messages and I see "shutdown: shutting down for system halt"
> Where can I get more details?
>> Q2: How can I prevent non privileged users from doing a shutdown or
> restart
>> I am using RHEL4
>> Thanks
> //Ger
>>>>> --
> Gerard Hooton.
> Department of Electrical & Electronic Engineering
> University College Cork.
> College Road.
> Cork.
>> Tel: +353 21 4902296
>>>> --
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug> Who we are : http://www.linux.ie/> Where we are : http://www.linux.ie/map/>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!