nerdexam
CompTIA

LX0-101 · Question #319

Of the ways listed, which is the best way to temporarily suspend a user's ability to interactively login?

The correct answer is C. Changing the user's shell to /bin/false. See the full explanation below for the reasoning.

Question

Of the ways listed, which is the best way to temporarily suspend a user's ability to interactively login?

Options

  • AChanging the user's UID.
  • BChanging the user's password.
  • CChanging the user's shell to /bin/false.
  • DRemoving the user's entry in /etc/passwd.

How the community answered

(29 responses)
  • A
    7% (2)
  • B
    3% (1)
  • C
    72% (21)
  • D
    17% (5)

Community Discussion

No community discussion yet for this question.

Full LX0-101 Practice