SESK: Stuff Everyone Should Know · sesk.info/aplus-linux-shadow
Which file holds the shadowed password information for Linux accounts?
/etc/shadow stores password information.
- /etc/hosts
- /etc/fstab
- /etc/shadow ✔
Why: The shadow file contains password information and optional aging information for accounts. It must not be readable by regular users if password security is to be maintained.
Huh, didn't know that: Each line of the shadow file has 9 fields separated by colons.
My password is 'incorrect', so when I forget it, the computer says 'Your password is incorrect.'
Like this card?
References
Answer: /etc/shadow. The shadow file contains password information and optional aging information for accounts. It must not be readable by regular users if password security is to be maintained.
- shadow(5), Debian manpages manpages.debian.org/bookworm/passwd/shadow.5.en.html
shadow is a file which contains the password information for the system's accounts
Checked 2026-10-10. - hosts(5), Debian manpages manpages.debian.org/bookworm/manpages/hosts.5.en.html
hosts - static table lookup for hostnames
Checked 2026-10-10.
Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.
More stuff everyone should know
That's stuff everyone should know.