Quote:
Originally Posted by colucix
Ok. Maybe there is some problem with the authentication method (e.g. PAM authentication that proftpd tries to use by default). Did you see something strange in /var/log/messages or /var/log/secure upon the failed logins?
|
Here is the edited version of /var/log/secure
First when then the user is set to /bin/false
proftpd: Deprecated pam_stack module called from service "proftpd"
USER xxxx (Login failed): Incorrect password.
FTP session closed.
Now, the user has been changed to /sbin/nologin
USER xxxx: Login successful.
Preparing to chroot to directory '/home/xxxx'
Deprecated pam_stack module called from service "proftpd"
pam_env(proftpd:setcred): Unable to open config file: /etc/security/pam_env.conf: No such file or directory.
Deprecated pam_stack module called from service "proftpd"
pam_succeed_if(proftpd:session): error retrieving information about user 0
pam_unix(proftpd:session): session closed for user xxxx
FTP session closed.
Should I make any changes to PAM?