the item ruser of pam_listfile.so cann`t work

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

 



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@xxxxxxxxxxxxxxxxxx

liuruihong@xxxxxxxxxxxxxxxxxx's password:

Permission denied, please try again.

liuruihong@xxxxxxxxxxxxxxxxxx's password:

[lrh@test15 home]$

 

I cann`t login ,why?

 

_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux