nerdexam
LPI

102-350 · Question #44

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

The correct answer is D. Use change to expire the user account. See the full explanation below for the reasoning.

Question

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

Options

  • AAdd the user name to /etc/nologin.
  • BChange the user's password.
  • CChange the user name in /etc/passwd.
  • DUse change to expire the user account.
  • EPlace the command logout in the user's profile.

How the community answered

(29 responses)
  • A
    14% (4)
  • B
    3% (1)
  • C
    7% (2)
  • D
    72% (21)
  • E
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 102-350 Practice