Restricted root or specific user

neel

New Member
Credits
11
Hi,

I want to restrict root and normal users for access /var/log directory and also other specific directories.
I would like to know the way of doing it.


Thanks
Neel
 


Tolkem

Well-Known Member
Credits
5,451
Hi,

I want to restrict root and normal users for access /var/log directory and also other specific directories.
I would like to know the way of doing it.


Thanks
Neel
If I understand correctly, you want to restrict access to /var/log and other directories to user root? Well, I don't think you can do that. You can however, restrict access to other users for those dirs but not root; root's the "Almighty" user, he can restrict you from accessing all files and folders, not the other way around.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Latest posts

Top