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
ftp login 530 login failed - psa-proftpd.i386 0:1.3.2a-1.fc7
-
- 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
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).
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
- mikeshinn
- 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
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.
Michael Shinn
Atomicorp - Security For Everyone
Atomicorp - Security For Everyone
Re: ftp login 530 login failed - psa-proftpd.i386 0:1.3.2a-1.fc7
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
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