[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: chmod, or better solutions ?



Jochen Schulz wrote:
> 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.
>   

Yes, this is what I was thinking.

-- 
http://snurf.info 
"Civil Engineering section" project : http://civil-e-section.org
« A book is like a garden carried in the pocket. »


Reply to: