Denny Jodeit wrote:
Hello,
I'm trying to restrict an ftp user to a particular directory. I've
written an ftpchroot file, as follows:
Username /var/spool/ftp/ ./Username/photos
After I write the file and restart inetd, I am not able to login to
ftp with this user account at all. I have RTFM and evidently don't get
If username only (no path) in ftpchroot, enter the path you want the
user chrooted to in /etc/passwd. What happens?
If you need shell home and ftp home to be different you need the path in
ftpchroot.
passwd(5) and ftpchroot(5).
What to the logs say? Try to use -d with ftpd.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"