[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

the item ruser of pam_listfile.so cann`t work



My  /etc/pam.d/sshd on sz-ssl-test00.sz01:

#%PAM-1.0

auth       required     pam_listfile.so item=ruser sense=allow file=/etc/test

auth       required     pam_stack.so service=system-auth

auth       required     pam_nologin.so

account    required     pam_stack.so service=system-auth

password   required     pam_stack.so service=system-auth

session    required     pam_stack.so service=system-auth

session    required     pam_loginuid.so

there are only one user in /etc/test:

lrh

 

when I login from remote using commands as fllows:

[lrh test15 home]$ ssh liuruihong sz-ssl-test00 sz01

liuruihong sz-ssl-test00 sz01's password:

Permission denied, please try again.

liuruihong sz-ssl-test00 sz01's password:

[lrh test15 home]$

 

I cann`t login ,why?

 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]