Wednesday 29 August 2012

FTP Users with /bin/false shell not able to login to ftp site

 

It is common to have user shell under "/bin/false" to restrict ftp users from logging through SSH

It also prevents the user from logging in to ftp also. This can be solved by following below steps.

# vi /etc/pam.d/vsftpd


auth   required        pam_shells.so (
Comment this line by adding a "#" in the front)

That should do the trick!!!

No comments:

Post a Comment