CNSP practice question 9 of 15
Where are the password hashes stored in the Linux file system?
Full set: 60 questionsDomain Network Security Fundamentals
Modern Linux systems follow the “shadow-password” scheme defined in the shadow‐utils project and the Filesystem Hierarchy Standard. The actual password hashes for each local account are stored in the file /etc/shadow, which is readable only by root. The traditional /etc/passwd file still exists but now contains only a placeholder (usually “x” or “”) in the password field, while the real hash is moved to /etc/shadow to protect it from non-privileged users.
A. /etc/passwd – Stores account metadata; password field is a placeholder, not the hash.
B. /etc/password – No such standard file in Linux; therefore cannot hold hashes.
D. /usr/bin/shadow – /usr/bin holds executables; no executable called “shadow” that stores hashes.
1. man 5 shadow
“DESCRIPTION”
¶1–2: “/etc/shadow contains the password hashes… readable only by root.”
2. man 5 passwd
“DESCRIPTION”
¶3: “The encrypted password… is stored in /etc/shadow.”
3. Linux Foundation
Filesystem Hierarchy Standard v3.0
§4.5 (/etc)
bullet “/etc/shadow”: “Contains the encrypted user password information.”
4. University of Wisconsin–Madison CS 354 Lecture Notes
“Unix Account Files”
slide 5: explains separation of /etc/passwd and /etc/shadow for security.
Keep practicing
Take the free CNSP practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CNSP practice questions
- Question 1Which Kerberos ticket is required to generate a Silver Ticket?
- Question 2What is the response from a closed UDP port which is not behind a firewall?
- Question 3Which of the following techniques can be used to bypass network segmentation during infra…
- Question 4What RID is given to an Administrator account on a Microsoft Windows machine?
- Question 6On a Microsoft Windows Operating System, what does the following command do? net localgro…
- Question 7The Management Information Base (MIB) is a collection of object groups that is managed by…
