On Fri, 08 Dec 2006 12:24:48 +0100, Sebastian Reitenbach wrote: > 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 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. > I prevent the ftp users from logging in via ssh via the ssh config, the > ftp users are all > in group _ftp, and this group is disallowed in /etc/ssh/sshd_config for > login, but I doubt > that this will interfere with the ftpd. Agreed, only it - at least reads - difficult. Does this help ? Uwe

