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)- A3% (2)
- B7% (4)
- C10% (6)
- D79% (46)
Community Discussion
No community discussion yet for this question.