How to restrict root user access to user folders? [closed]
In my PC, there are two users "root" and "user1". In /home
I have a directory for a "user1" /home/user1
. Now i want to restrict root user to access /home/user1
directory for read, write and execute. Is it possible ?
How to do this help me? Thanks in advance.
Solution 1:
No you can't.
Even if you implement some protection, he's the root.. He can revert it.
The only suggestion is: encryption, and if you're logged in he can still see what you got.