I wanted to set the user default directory chroot'ed for ftp-session. So, I 
created user/group: "user1/group1", and wrote the following lines to the 
configuration fles:

- /etc/ftpusers:
user1:group1 allow chroot

- /etc/ftpchroot
user1:group1 allow

- /etc/ftpd.conf
chroot allow /usr/home/user1/FTP_DIR

I successfully logged in to the ftp as a "user1", and then used "pwd" and got:
/usr/home/user1
So, I logged in as a real user, without "chroot".
I would highly appreciate, if someone explained me what was wrong with my 
configuration.

The home directory and below are with "ugo=rwx" access rights.
I use FreeBSD 6.1.

Many thanks to all!
Andriy
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to