Shams Fantar:
> 
> I'd like to know if it's very fine and "clean" to chmod -R 700 / ;

This will prevent non-root users from reading *any* file on the system.

If user 'shams' wants to list his home directory /home/shams, he has to
have permissions to list / and /home as well.

> Or are there any better solutions ? My purpose beeing that local users
> can't access/read any file which isn't in their own home directory.

The only idea that pops into my mind would be chroots for every user.
But I don't see a point in doing that.

J.
-- 
Driving behind lorries carrying hazardous chemicals makes me wish for a
simpler life.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature

Reply via email to