Prevent users from saving anything

Latest response

I need to stop users from saving anything. This includes their own Home directory. Is there an easy way to do this? If i just remove their write permission won't some applications stop working?

Responses

Travis,

Tell us which applications you work with.

e.g. if you do not want a DBA to be able to write in the home directory of the oracle user (or another RDMS owning user) you break the functionality.

If you talk about a ftp server, where a process writes to a directory, and users are only allowed to get files but putting files is not allowed. You can just give the put the users in a group that only has read permission.

The question you post is too general and I could answer it: NILL
I cannot answer the question for the situation is not clear.

Kind regards,

Jan Gerrit Kootstra

This is for a Desktop. The users have Firefox as a web browser and LibreOffice to read documents. Cisco Anyconnect to connect to our VPN but not much else. I do not want them changing the icons on the desktop or adding any favorites. No settings should be changed and no files should be able to be saved in their Home directory ( or anywhere else if possible).

Not very sure but see if acl can be helpful in this situation. Restrict that particular user from doing any kind of modification in his home directory.

Never tried but thought to let you try it. :)

What about just removing the write permission to their home directory but allowing it in the hidden config directories below it?

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.