Prevent users from accessing "System Settings"
I'm administering a system and do not want people messing with their system settings (specifically the power settings).
I've searched everywhere and cannot find a method for disabling the power settings from system settings.
The gnome-system-tools package didn't contain any options for restricting access to system settings or power settings.
Using Raring Ringtail.
Changing permissions to 700 for /usr/bin/gnome-control-center
would help you restrict the normal users gain access.
However that goes out for all the settings, and users wont be able to set other settings like the display or keyboard.
Another good way is to define user group and change the ownership of gnome-control-center
to those groups. and then add the permissible user to the group. the full description is here.
We have done is created groups with certain admin privileges and managed centrally using/etc/sudoers
where in entries are whitelisted and provided on need basis.
For example:
Including the line :
$admin=ALL=(ALL) ALL `!/usr/bin/gnome-control-center`