store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Wed Jun 19, 2013 2:15 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 4 posts ] 
Author Message
 Post subject: ftp login 530 login failed - psa-proftpd.i386 0:1.3.2a-1.fc7
Unread postPosted: Mon Nov 16, 2009 1:19 pm 
Offline
Forum Regular
Forum Regular

Joined: Thu Oct 26, 2006 11:56 pm
Posts: 665
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


Top
 Profile  
 
 Post subject: Re: ftp login 530 login failed - psa-proftpd.i386 0:1.3.2a-1.fc7
Unread postPosted: Mon Nov 16, 2009 2:20 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
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


Top
 Profile  
 
 Post subject: Re: ftp login 530 login failed - psa-proftpd.i386 0:1.3.2a-1.fc7
Unread postPosted: Mon Nov 16, 2009 3:20 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
User avatar

Joined: Thu Feb 07, 2008 7:49 pm
Posts: 3264
Location: Chantilly, VA
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

Co-Author of Troubleshooting Linux Firewalls.


Top
 Profile  
 
 Post subject: Re: ftp login 530 login failed - psa-proftpd.i386 0:1.3.2a-1.fc7
Unread postPosted: Mon Nov 16, 2009 11:40 pm 
Offline
Forum Regular
Forum Regular

Joined: Thu Oct 26, 2006 11:56 pm
Posts: 665
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 4 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group