nerdexam
LPI

117-102 · Question #337

How to disable the interactive login for a user?

The correct answer is D. add logout script to user profile*. See the full explanation below for the reasoning.

Question

How to disable the interactive login for a user?

Options

  • Aadd username to /etc/nologin
  • Breset the password using passwd
  • Cchange the password maximum date value
  • Dadd logout script to user profile*

How the community answered

(58 responses)
  • A
    3% (2)
  • B
    7% (4)
  • C
    10% (6)
  • D
    79% (46)

Community Discussion

No community discussion yet for this question.

Full 117-102 Practice