ftp login 530 login failed - psa-proftpd.i386 0:1.3.2a-1.fc7

Community support for Plesk, CPanel, WebMin and others with insight from two of the founders of Plesk. Ask for help here! No question is too simple or complicated. :-)
aus-city
Forum Regular
Forum Regular
Posts: 685
Joined: Thu Oct 26, 2006 11:56 pm

ftp login 530 login failed - psa-proftpd.i386 0:1.3.2a-1.fc7

Unread post by aus-city »

Scott,

Your psa-proftpd package for F7 breaks logins:

331 Password required for aussiefrogs
Password:
530 Login incorrect.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.

I tried reinstalling:

[root@server ~]# yum reinstall psa-proftpd
Setting up Reinstall Process
Resolving Dependencies
--> Running transaction check
---> Package psa-proftpd.i386 0:1.3.2a-1.fc7.art set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Reinstalling:
psa-proftpd i386 1.3.2a-1.fc7.art asl-2.0 1.9 M

Transaction Summary
================================================================================
Remove 0 Package(s)
Reinstall 1 Package(s)
Downgrade 0 Package(s)

Still the same.

Rolled back and ftp logins work:

[root@server ~]# rpm -Uvh --oldpackage psa-proftpd-1.3.2-12.fc7.art.i386.rpm
Preparing... ########################################### [100%]
1:psa-proftpd ########################################### [100%]
[root@server ~]# /etc/init.d/xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
[root@server ~]# ftp
ftp> open ftp.xx.com
Connected to ftp.xx.com (208.109.243.230).
220 ProFTPD 1.3.2 Server (ProFTPD) [208.109.243.230]
Name (ftp.axx.com:root): xx
331 Password required for xx
Password:
230 User xx logged in
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> close
221 Goodbye.
ftp> bye

Any idea's why authentication fails on the updated psa-proftpd?

Submitted as Number: 1557
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: ftp login 530 login failed - psa-proftpd.i386 0:1.3.2a-1.fc7

Unread post by breun »

I know this doesn't solve your problem, but Fedora 7 is unsupported as this OS release has reached end of life (since mid 2008, see https://fedoraproject.org/wiki/End_of_life). At the moment Fedora 10 is the only version of Fedora that's supported by ASL.

I recommend going with CentOS instead of Fedora, because of its much longer lifecycle (7 years of updates instead of ~1 year).
Lemonbit Internet Dedicated Server Management
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4149
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: ftp login 530 login failed - psa-proftpd.i386 0:1.3.2a-1.fc7

Unread post by mikeshinn »

Thank you for the report David. We don't support FC7 anymore. We do put out rpms as a courtesy, but we definitely don't support it. Best guess is that its an issue with PAM on fc7.
aus-city
Forum Regular
Forum Regular
Posts: 685
Joined: Thu Oct 26, 2006 11:56 pm

Re: ftp login 530 login failed - psa-proftpd.i386 0:1.3.2a-1.fc7

Unread post by aus-city »

Hi Mike,

Ah found it thanks for the tip.

Can you include this for Fedora builds as PAM is different and causes issues.

Package /etc/pamd.d/proftpd

#%PAM-1.0
auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
auth required pam_stack.so service=system-auth
auth required pam_shells.so
account required pam_stack.so service=system-auth
session required pam_stack.so service=system-auth


Correct /etc/pam.d/proftpd for Fedora

#%PAM-1.0
session optional pam_keyinit.so force revoke
auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
auth required pam_shells.so
auth include system-auth
account include system-auth
# Comment the following line if you are having PAM issues with chrooted users
#session include system-auth
session required pam_loginuid.so
Post Reply