nerdexam
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)
  • A
    11% (6)
  • B
    2% (1)
  • C
    2% (1)
  • D
    79% (42)
  • E
    6% (3)

Community Discussion

No community discussion yet for this question.

Full 117-301 Practice