Hello
thanks help me.
i hope only right password stored in the specified file
if other people brute force my sshd,because log-credentials is right and wrong password all record /var/log/secure.so it's file very big,
just test in this /etc/pam.d/sshd,no record username and password. my file is:
/////////////////////
##%PAM-1.0
auth required pam_sepermit.so
auth optional log_credentials.so
auth includepassword-auth
account required pam_nologin.so
account includepassword-auth
password includepassword-auth
##pam_selinux.so close should be the first session rule
session required pam_selinux.so close
session required pam_loginuid.so
##pam_selinux.so open should only be followed by sessions to be executed in the user context
session required pam_selinux.so open env_params
session optional pam_keyinit.so force revoke
session includepassword-auth
/////////////////////
thanks
Hello
thanks help me.
i hope only right password stored in the specified file
if other people brute force my sshd,because log-credentials is right and wrong password all record /var/log/secure.so it's file very big,
just test in this /etc/pam.d/sshd,no record username and password. my file is:
/////////////////////
/////////////////////
thanks