nerdexam
IBM

C4040-227 · Question #206

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

(26 responses)
  • A
    8% (2)
  • C
    73% (19)
  • D
    15% (4)
  • E
    4% (1)

Community Discussion

No community discussion yet for this question.

Full C4040-227 Practice