How can I disallow normal users on Ubuntu Lucid 10.04 (multi user NIS setup) from shutting down the system?

2

In the past, I was able to set "SystemMenu=false" in gdm.conf, to prevent normal users from being able to shut down the system.

In ubuntu 10.04, this does not work.

How can this be done?

Tzafrir

Posted 2010-07-26T19:59:32.257

Reputation: 123

Answers

1

With gdm 2.30 in a default Ubuntu configuration, the shutdown menu is shown by the simple greeter and can be turned off by adding the following line in /var/lib/gdm/.gconf/apps/gdm/simple-greeter/%gconf.xml:

<entry name="disable_restart_buttons" type="bool" value="true"/>

Gilles 'SO- stop being evil'

Posted 2010-07-26T19:59:32.257

Reputation: 58 319