What is the difference between passwd and shadow in Linux?

Trần Vũ

New member
What is the difference between passwd and shadow in Linux?
Answer
The major difference is that they contain different pieces of data. passwd contains the users’ public information (UID, full name, home directory), while
shadow contains the hashed password and the password expiry data.
 

Tìm kiếm

Back
Top