in linux centos 7
linux using telnet server
What is the name of the file responsible for checking the password, whether it is valid or not?
in linux centos 7
linux using telnet server
What is the name of the file responsible for checking the password, whether it is valid or not?
Any privileged (UID=0) program can read /etc/shadow, retrieving both the encrypted password and the encryption algorithm for a given user.
The program uses the encryption algorithm to encrypt the password-to-be-tested. If the two encrypted passwords match, so do the two passwords, if they don't match, the passwords don't either, and no information about the actual password is leaked.
login, the PAM infrastructure, sudo and sudo-like, and any other program that wants to. Why do you want to change the password authentication for the whole system? What change to you want to make?
It all goes through the pam infrastructure.