redhawk wrote:I had considered using sftp but it relies on the user account having a valid shell like bash.
To prevent logins I have crippled the default shell which seems to prevent sftp from working properly.
In any case I needed a file server with resume mode only an ftp server provides this kind of support.
I'm sure preventing ".." should be possible my Windows' based ftp server had this ability (but no resume support).
You can restrict them to sftp only by setting their shell to /usr/lib/openssh/sftp-server. The directions for doing this are at the bottom of this page:
http://www.howtoforge.com/restricting-u ... an-squeeze
You do not need to do chroot to restrict them to sftp only, but you could if you wanted too.
EDIT: pure-ftpd would allow you to restrict users to their "home" directory. Home is in quotes because the users do not need system accounts to have pure-ftpd accounts. Not sure if that fulfills the no '..' requirement for you or not, but it is easy to do with pure-ftpd.