User account that is not allowed to edit one file on Ubuntu

Posted by spacemonkey on Super User See other posts from Super User or by spacemonkey
Published on 2010-05-21T15:26:28Z Indexed on 2010/05/21 15:32 UTC
Read the original article Hit count: 227

Filed under:
|
|
|

Hi,

I wanted to ask if it is possible to create a user account on Ubuntu so that it had all powers and rights of root account except it would be impossible to edit a certain file.

What I intend to do is to edit host file in order to block access of certain websites, and then create a user account which would be the same as root account except it would be not able to edit host file. Maybe there is an easier way to block an access of certain sites forever?

Thanks!

© Super User or respective owner

Related posts about ubuntu

Related posts about user