*********** REPLY SEPARATOR ***********
On 26/08/00 at 20:49 Justin Zygmont wrote:
>I was just looking to see if there was a way to restrict normal users
>from leaving their home directory, and I couldn't find one. Does anyone
>know if this can be done without removing directory permissions on
>everything:)
>
>thanks...
Hi
What you are looking at is chrooting or root jail , to do this in its
simple form, get a copy of /bin & /lib from the FTP home dir and place it
in each users home you want chrooted, then create a group of say
ftpusers add chrooted users to this group, then mod your FTP access
file to have something like this....
==============
compress yes all
tar yes all
chmod no anonymous
delete no anonymous
overwrite no anonymous
rename no anonymous
chmod yes guest
delete yes guest
overwrite yes guest
rename yes guest
guestgroup ftpusers
=================
You can make the ftpaccess file much more complex than this depending on
what you are wanting to achieve
Just remember if they are able to get a shell in telnet, shh they still can
wander where they like
--
Have you seen these Linux sites?
Embedded Linux Consortium http://www.embedded-linux.org
Linux Professional Institute http://www.lpi.org
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list