On Mon, 11 Dec 2006, Sebastian Reitenbach wrote: > [EMAIL PROTECTED] wrote: > > On Fri, 08 Dec 2006 12:24:48 +0100, "Sebastian Reitenbach" > <[EMAIL PROTECTED]> wrote: > > > I thought that, after reading ftpd(8), and therefore I have the user in > > > /etc/ftpchroot. > > > > > > I have the same problem on two servers, OpenBSD 4.0 and 3.9. > > I think I misunderstand you. Are you saying that you have users in > /etc/ftpchroot and > they're still not chrooted after logging in? Did you restart ftpd? Assuming > you're not > running it from inetd of course. > > yes exactly, their usernames are listed in etc/ftpchroot, but after restarting > ftp or > inetd, they are still not chrooted. see my other answer to Uwe, with a longer > output. > > in my eyes, I have done all to chroot them, but obviously I must have missed > sth. > > kind regards > Sebastian
Hmm, look for some funny chars, missing newlines or spurious whitespace in ftpchroot: vis -tl /etc/ftpchroot If that doesn't help, I can only suggest to add some debug code around the handling of the dochroot variable in ftpd.c -Otto