After updating packages in CentOS 6.5 proftpd started logging
proftpd: PAM unable to dlopen(/lib64/security/pam_stack.so)
It seems the proftp pam module is wrong.
The non working /etc/pam.d/proftpd config look like this:
#%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
When I instead use the following config, which I found on the internet, I got it working again:
#%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 required pam_loginuid.so
sources:
syamkumar-linux.blogspot.no
blog.justla.me