Which file stores local passwords?
-
/etc/passwd
-
/etc/shadow
-
/etc/gshadow
-
/etc/group
B
Correct answer
Explanation
The /etc/shadow file stores encrypted password hashes and related aging information for local user accounts. The /etc/passwd file contains user account information but not the password hashes themselves.