Prevent access to root folder
How do I stop users from entering the root home folder?
I would sooner not have standard users not poking around in there. |
by default no standard user is allowed to enter the root folder.
|
I created a standard user and managed to browse and read a script in the root's folder?
Im using arch linux. I just tested this on a hosted shell which is running FreeBSD and I too as a standard user can view the contents of the root folder. |
By root folder do you mean /root or /?
|
/root
<Guff to fill maximum 10 character limit> |
This should do it:
chmod 700 /root |
Yep works great. Thanks.
|
All times are GMT -5. The time now is 04:35 PM. |