Where are hashed passwords stored in Linux?

Where are hashed passwords stored in Linux?
Answer
Password hashes were traditionally stored in /etc/passwd , but modern systems keep the passwords in a separate file from the public user database. Linux uses /etc/shadow . You can put passwords in /etc/passwd (it’s still supported for backward compatibility), but you have to reconfigure the system to do that.
 

Tìm kiếm

Back
Top