disabling everywhere suspend, hibernate, shutdown, restart

NoOp glgxg at sbcglobal.net
Wed Sep 30 23:52:27 UTC 2009


On 09/30/2009 02:18 AM, Jacques Beigbeder wrote:
> Hello,
> 
> I have some rooms of free-access Linux boxes running Ubuntu 9.04.
> Since these computers are heavily used by 1500+ students,
> I want to disable:
> 	suspend, hibernate, shutdown, restart
> in all installed window managers: Gnome, KDE, LXDE, Xfce.
> 
> I found the following files:
> . /etc/gdm/gdm.conf-custom
> 	[greeter]
> 	SystemMenu=false
> . /etc/gconf/gconf.xml.mandatory/%gconf-tree.xml: set with appropriate syntax:
>   	gnome-power-manager/general/can_hibernate = false
> 	gnome-power-manager/general/can_suspend = false
> . setting:
>    lrwxrwxrwx 1 root root  10 Sep 30 10:48 /usr/bin/pm-is-supported -> /bin/false
>   also helps.
> 
> But this is not a complete coverage.
> 
> Any hint?


For Gnome, perhaps you should look into:

Pessulus - Security lockdown editor
[Will appear as System|Administration|User Profile Editor]

Sabayon - Graphical user account template editor
[Will appear as System|Administration|Lockdown Editor]

Note: Pessulus has a pretty good help file, Sabayon does not - even 'man
sabayon' sucks.

<http://tombuntu.com/index.php/2008/05/27/how-to-lock-down-gnome/>
<http://www.ubuntugeek.com/sabayon-manage-multiple-gnome-user-profiles.html>






More information about the ubuntu-users mailing list