nerdexam
IBM

C4040-227 · Question #228

How can ssh access for root be disabled?

The correct answer is C. Set PermitRootLogin to no in /etc/ssh/sshd_config. See the full explanation below for the reasoning.

Question

How can ssh access for root be disabled?

Options

  • ARemove the ssh line from /etc/inetd.conf.
  • BSet rlogin to false in /etc/security/user for root.
  • CSet PermitRootLogin to no in /etc/ssh/sshd_config.
  • DSet RootPasswordAuthentication to no in /etc/ssh/ssh_config

How the community answered

(26 responses)
  • A
    4% (1)
  • B
    8% (2)
  • C
    69% (18)
  • D
    19% (5)

Community Discussion

No community discussion yet for this question.

Full C4040-227 Practice