- 论坛徽章:
- 0
|
auth sufficient pam_userdb.so db=/etc/vsftpd/vsftpd_login
account sufficient pam_userdb.so db=/etc/vsftpd/vsftpd_login
auth required pam_listfile.so item=user sense=deny file=/etc/vsftpd.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
这是vsftpd的pam.d下文件,但是
[vr_ftpuser@greatwall etc]$ ftp localhost
Connected to localhost.
220 Welcome to ORSI satllite station FTP service.
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (localhost:vr_ftpuser): test
331 Please specify the password.
Password:
500 OOPS: reading non-root config file
Login failed.
421 Service not available, remote server has closed connection
ftp> bye
请高手指点,错在什么地方 |
|