[plug] Re: restricting user access

Daniel Axtens danielax at gmail.com
Wed May 4 17:20:40 WST 2005


Restrict in what way?
If you want to prevent users from modifying[1] any files that are not
in their home directory, or reading others files, then you need to set
restrictive permissions - for example, the users' home directories
should probably have 700 (or rwx------)  as their permissions, and
permissions elsewhere should be locked down.

If you want to prevent users from even seeing anything else: if you
want them to think that they are at ther root of the filesystem, you
might want to look into chroot. Unfortunatly, this can get
complicated, as they then need, for example, their own shell if they
are going to log in interactively.

If I've misunderstood you, please let me know.

HTH,
Daniel

[1] Users still need to be able to access /usr, for example, as they
need shells/programs/etc.


On 5/4/05, Jon  Miller <jlmiller at mmtnetworks.com.au> wrote:
> Like to know how to restrict a users access to just the directory they are
> assigned to.  This is on a Debian server.
> 
> 
> Thanks
> 
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://www.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au
> 

-- 
Neuronstorm: neuronstorm.sourceforge.net
The Neuronstorm Blog: leinad-golb.blogspot.com



More information about the plug mailing list