Im using RH8 with the included vsftpd.
i want to allow users access via SSH and FTP into set dirs (home dir) but no others.
i can get vsftpd to chroot users to home no problems.
i can get jail (http://freshmeat.net/projects/jail_c...ic_id=43%2C253
) working no problems either
but i CANT get them working together. i just get a 500 error incorect login.
after i have 'jailed' a user i can still get ftp login ok if i change the shell to '/bin/bash' but then they aren't jailed.
looking at man vsftpd.conf i see
Note! This option only has an effect for non PAM builds of
vsftpd. If disabled, vsftpd will not check /etc/shells for a
valid user shell for local logins.
now im gussing this is whats causing me problems.
im no expert but i think im using PAM as default.
is there another way to do it? or can i enable /usr/local/bin/jail as a valid shell?
thanks for any help