Multiple choice

Which file stores local passwords?

  1. /etc/passwd

  2. /etc/shadow

  3. /etc/gshadow

  4. /etc/group

Reveal answer Fill a bubble to check yourself
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.