vsftpd.pam 【虛擬使用者與本地使用者都可以登入】
阿新 • • 發佈:2019-02-09
#%PAM-1.0
auth sufficient /lib/security/pam_userdb.so db=/etc/vsftpd/vsftpd_login
account sufficient /lib/security/pam_userdb.so db=/etc/vsftpd/vsftpd_login
session optional pam_keyinit.so /lib/security/force revoke
auth required /lib/security/pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
auth required /lib/security/pam_shells.so
auth include system-auth
account include system-auth
session include system-auth
session required /lib/security/pam_loginuid.so
auth sufficient /lib/security/pam_userdb.so db=/etc/vsftpd/vsftpd_login
account sufficient /lib/security/pam_userdb.so db=/etc/vsftpd/vsftpd_login
session optional pam_keyinit.so /lib/security/force revoke
auth required /lib/security/pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
auth required /lib/security/pam_shells.so
auth include system-auth
account include system-auth
session include system-auth
session required /lib/security/pam_loginuid.so