Stop worrying about your server.

cPanel/Plesk Server Management for just $59/mo with Unlimited tickets, Unlimited admin hours, Security audits, 24×7 monitoring and lot more 

cPanel Server Management  $59/mo Click here

Plesk Server Management $59/mo Click here

PROFTPD login failed error:

If you get PROFTPD login failed error like,

Dec 16 2:06:19 backup1 proftpd[14860]: ) - FTP session opened.
Dec 16 2:06:20 backup1 proftpd[14837]: - FTP session closed.
after the installation of proftpd and user creation. First of all you need to check the proper logs to find the cause. For that,
Check the secure logs using the command,
tailf /var/log/secure
If you see login failed error’s like,
USER ftpuser (Login failed): Incorrect password.
Dec 16 2:06:19 backup1 proftpd: PAM unable to dlopen(/lib64/security/pam_stack.so): /lib64/security/pam_stack.so: cannot open shared object file: No such file or directory
This is because of some incorrect settings on default pam configuration. This is on the file,
/etc/pam.d/proftpd
For fixing this issue, first take a backup of the above file and edit it and replace all the codes in the file with the codes below,
#%PAM-1.0M-1.0
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
#session include system-auth
session required pam_loginuid.so
Now restart the proftpd service and try to login again as the user that you already created for PROFTPD

Need our help to fix the issue ? Submit Support Ticket Now

[sep][/sep]

[button size=”large” color=”green” title=”Server Administration Services from Stack Supports” link=”http://iserversupport.com/server-support-products/server-security/”]View Server Administration Packages[/button]