Date: Fri, 04 Aug 2006 00:26:16 -0700 From: Andriy Babiy <ABabiy@shaw.ca> To: freebsd-questions@freebsd.org Subject: ftpd configuration Message-ID: <200608040026.16504.ABabiy@shaw.ca>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608040026.16504.ABabiy>