LPI
117-301 · Question #59
When logged in to a workstation which retrieves most of its user information from NIS, which command can be used to list ALL the users?
The correct answer is D. getent passwd. See the full explanation below for the reasoning.
Question
When logged in to a workstation which retrieves most of its user information from NIS, which command can be used to list ALL the users?
Options
- Acat /etc/passwd
- Bshow users
- Cypusers list
- Dgetent passwd
- Ecat /var/lib/nis/passwd
How the community answered
(53 responses)- A11% (6)
- B2% (1)
- C2% (1)
- D79% (42)
- E6% (3)
Community Discussion
No community discussion yet for this question.