IBM
C4040-221 · Question #122
Which action will temporarily disable remote login access using telnet and ssh for all non-root accounts?
The correct answer is C. Create a/etc/nologin file. See the full explanation below for the reasoning.
Question
Which action will temporarily disable remote login access using telnet and ssh for all non-root accounts?
Options
- AUpdate /etc/security/passwd and recycle the inetd subsystem.
- BStop the sshd subsystem.
- CCreate a/etc/nologin file.
- DSet the PermitLogins parameter in /etc/ssh/sshd_config and recycle the sshd daemon.
- ETouch the /etc/sshd/nologin file and recycle the sshd daemon.
How the community answered
(51 responses)- A2% (1)
- B4% (2)
- C84% (43)
- D2% (1)
- E8% (4)
Community Discussion
No community discussion yet for this question.