Date: Fri, 03 Jun 2005 23:51:01 +0200 From: Per olof Ljungmark <peo@intersonic.se> To: freebsd-questions@freebsd.org Subject: Re: ftpchroot Message-ID: <42A0D0C5.1020900@intersonic.se> In-Reply-To: <003701c5687d$e52e61b0$59830acf@dennylaptop2> References: <003701c5687d$e52e61b0$59830acf@dennylaptop2>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42A0D0C5.1020900>