You will probably need to use a combonation of the chown, chgrp, chmod commands. The way I am thinking about doing it, would be to make a group for your lowusers. Then we are going to assign the user you wish to restrict permissions of, to that group we made.
sudo addgroup lowusers
sudo usermod -a lowusers <USERNAME>
Now browse to that users home directory and go to (assuming you use mozilla) /.mozilla/firefox/
From there list the directory contents (via 'ls'). You should see a strangely named folder, in blue..from there type 'cd <the blue folder name>' Okay so we are at the browser configuration area... the file that stores the actual settings is called prefs.js
type 'sudo chgrp lowusers prefs.js'
in order to change this file so the users will be able to still use it, but not change it, we are going to give it read and execute permissions only.
to do this type the following 'sudo chmod g=rx,u=rx prefs.js'
From there on anytime you want to make it so the user can only read and run files... type 'chmod g=rx,u=rx <filename>' ..that is after you've assigned it to the lowusers group.
|