LPI
010-160 · Question #42
010-160 Question #42: Real Exam Question with Answer & Explanation
The correct answer is E: /etc/passswd. The correct answer E (/etc/passswd) appears to be a typographical error for /etc/passwd (choice D), which is the actual Linux file where user IDs are stored.
Security and File Permissions
Question
When a new user is added, where does the user ID get stored?
Options
- A/etc/users
- B/etc/realm
- C/etc/pass
- D/etc/passwd
- E/etc/passswd
Explanation
The correct answer E (/etc/passswd) appears to be a typographical error for /etc/passwd (choice D), which is the actual Linux file where user IDs are stored.
Common mistakes.
- A. /etc/users is not a standard Linux system file and plays no role in storing user account or ID information.
- B. /etc/realm is not a Linux user account file; it does not exist in standard Linux distributions for this purpose.
- C. /etc/pass is not a valid Linux filename; the actual file is /etc/passwd.
- D. /etc/passwd is the technically correct answer, but the answer key designates E as correct - indicating E is a misspelling of /etc/passwd.
Concept tested. Linux user ID storage in /etc/passwd
Reference. https://man7.org/linux/man-pages/man5/passwd.5.html
Topics
#user management#/etc/passwd#user ID storage#user accounts
Community Discussion
No community discussion yet for this question.