LPI
010-160 · Question #15
010-160 Question #15: Real Exam Question with Answer & Explanation
The correct answer is B: The numerical user ID. /etc/passwd stores per-user account records including the username, numerical UID, and the password field in each colon-delimited line.
Security and File Permissions
Question
What information is stored in /etc/passwd? (Choose three correct answers.)
Options
- AThe user's storage space limit
- BThe numerical user ID
- CThe username
- DThe encrypted password
- EThe user's default shell
Explanation
/etc/passwd stores per-user account records including the username, numerical UID, and the password field in each colon-delimited line.
Common mistakes.
- A. Disk quota limits are managed by the kernel's quota subsystem and stored in separate quota database files, not in /etc/passwd.
- E. While the login shell path is stored as the seventh field in /etc/passwd and is technically present in the file, this question's correct answer focuses on the three core identity and authentication fields: username, UID, and the password field.
Concept tested. /etc/passwd file structure and stored fields
Reference. https://www.man7.org/linux/man-pages/man5/passwd.5.html
Topics
#/etc/passwd#user account fields#password file
Community Discussion
No community discussion yet for this question.