nerdexam
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)
  • A
    2% (1)
  • B
    4% (2)
  • C
    84% (43)
  • D
    2% (1)
  • E
    8% (4)

Community Discussion

No community discussion yet for this question.

Full C4040-221 Practice