Red Hat Bugzilla – Bug 163026
FTP-Login fails with proftpd
Last modified: 2007-11-30 17:11:09 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4
Description of problem:
The login via FTP fails on x86_64 systems because of a wrong path in /etc/pam.d/ftp
It links to the 32-bit versions of the pam-libraries.
The result in /var/log/messages is attached.
Changing the path in /etc/pam.d/ftp enabled correct login to the FTP-Service.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install proftpd + pam on a x86_64 system
2. login failes
Actual Results: login fails
Expected Results: succesful login
Created attachment 116648 [details]
Created attachment 116649 [details]
correct file /etc/pam.d/ftp
The /etc/pam.d/ftp is owned by the proftpd package not pam.
Even your provided ftp file is not right. The correct solution is to remove the
paths completely leaving only the module filenames there. However the file is
wrong also by other means - it uses pam_pwdb but this is not setup by default in
Fedora Core so if you want to use system accounts for logging into the ftp the
/etc/pam.d/ftp should be changed similarly to the /etc/pam.d/vsftpd of the
Created attachment 116694 [details]
pam configuration for vsftpd
Looks like the pam file provided inside the proftpd sources is 64bit
incompatible and got obsolete by now too. I'll test a new proftpd build with a
pam.d file based on the vsftpd one (basically the same, but using the
/etc/ftpusers it always has), and if all goes well, I'll release a new Extras build.
The fixed packages are waiting to be signed and be pushed :
Things now work for me, but I've only been able to test on i386, so confirmation
that the new pam.d file makes things work on x86_64 would be nice.
the fixes are working on x86_64