View previous topic :: View next topic |
Author |
Message |
Pizza67 n00b
Joined: 19 Mar 2007 Posts: 6
|
Posted: Tue Mar 20, 2007 8:59 pm Post subject: Disable users to change background and theme |
|
|
Hi all.
I'm trying to find a way to inhibit a non-privileged user from changing the desktop background and the theme (icons, colors, etc.) in Gnome.
I tried:
Code: | chown -R root:root /home/<username>/.gnome2 |
but I've got an error when the user try to log into the system (cannot create the directory .gnome/accel - Permission denied).
Any suggestion?
Thanks in advance,
Pizza67 |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Tue Mar 20, 2007 9:28 pm Post subject: |
|
|
try Code: |
chmod 770 /usr/bin/gnome-background-properties
chmod 770 /usr/bin/gnome-theme-manager
|
|
|
Back to top |
|
|
nutbar21 Apprentice
Joined: 05 Dec 2004 Posts: 205 Location: USA
|
Posted: Tue Mar 20, 2007 9:29 pm Post subject: |
|
|
There isn't some kind of admin option built in to disallow this? _________________ "Your voice is like the sound of sirens to a house on fire..." -The Alkaline Trio |
|
Back to top |
|
|
Pizza67 n00b
Joined: 19 Mar 2007 Posts: 6
|
Posted: Wed Mar 21, 2007 9:51 am Post subject: |
|
|
r3solve wrote: | There isn't some kind of admin option built in to disallow this? |
Yes it is!
It's quite simple: just run gconf-editor, find the right key (i.e. /desktop/gnome/background/picture_filename), right click on it and "Set as mandatory".
That's it: the user won't be able to change the desktop background! |
|
Back to top |
|
|
|