With proftpd, first be sure that 'PersistentPasswd' is set to 'Off'
If that's the case, then the method for using pam_unix.so varies by linux distribution. My RedHat 7.3 box has the following:
You can probably copy another file in the pam.d directory - such as pop or pop3 or something similar to the file 'ftp' and make sure it uses pam_unix .. and that should do the trick.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-06-12
thanks a lot.
my system is work now.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
how to set PAM config to use pam_unix.so?
thanks
With proftpd, first be sure that 'PersistentPasswd' is set to 'Off'
If that's the case, then the method for using pam_unix.so varies by linux distribution. My RedHat 7.3 box has the following:
/etc/pam.d/ftp
auth required /lib/security/pam_nologin.so
auth required /lib/security/pam_securetty.so
auth required /lib/security/pam_env.so
auth required /lib/security/pam_stack.so service=system-auth
account required /lib/security/pam_stack.so service=system-auth
session required /lib/security/pam_stack.so service=system-auth
/etc/pam.d/system-auth
auth required /lib/security/pam_env.so
auth sufficient /lib/security/pam_unix.so likeauth nullok
auth required /lib/security/pam_deny.so
account required /lib/security/pam_unix.so
password required /lib/security/pam_cracklib.so retry=3 type=
password sufficient /lib/security/pam_unix.so nullok use_authtok md5 shadow
password required /lib/security/pam_deny.so
session required /lib/security/pam_limits.so
session required /lib/security/pam_unix.so
You can probably copy another file in the pam.d directory - such as pop or pop3 or something similar to the file 'ftp' and make sure it uses pam_unix .. and that should do the trick.
thanks a lot.
my system is work now.