Hi, thanks for your answer, but I still have no luck. > > I have the same problem on two servers, OpenBSD 4.0 and 3.9. > > And I do it on both ... > ... but differently: > > ftpd_flags="-DllUS" > Their HOME is where I want to chroot them > Their shell is /usr/bin/passwd (to change the passwd and prevent ssh) > Their username is in /etc/ftpchroot So I tried to setup the ftpd standalone, without the inetd, but with same result as before, result see below.
# finger ftp_user Login: ftp_user Name: Directory: /home/ftp_user Shell: /bin/ksh On since Mon Dec 11 11:39 (CET) on ftp8556 (messages off) from somehost.test.de No Mail. No Plan. # grep ftp_user /etc/ftpusers # grep ftp_user /etc/ftpchroot ftp_user # ps ax | grep ftpd 3534 ?? Is 0:00.00 /usr/libexec/ftpd -DllUS above a session to the OpenBSD 3.9 host, but the same happens on the 4.0 host too. > > The last is a binary switch for chroot / non-chroot (if I wanted). > Test is straightforward: > ftp and pwd which gives either $HOME or '/'. The latter is of cause > chroot. > ftp [EMAIL PROTECTED] Connected to ftp.test.de. 220 ftp.test.de FTP server (Version 6.6/OpenBSD) ready. 331 Password required for ftp_vh. Password: 230- OpenBSD 3.9 (GENERIC) #617: Thu Mar 2 02:26:48 MST 2006 .... 230 User ftp_user logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp> pwd 257 "/home/ftp_user" is current directory. ftp> cd .. 250 CWD command successful. > > Does this help ? unfortunately not, and I have no clue, what is wrong in my setup. I think I must have done the same stupid error twice on both hosts, but I don't know where, any more ideas? kind regards Sebastian

