nerdexam
Oracle

1Z0-100 · Question #68

Which two actions are the required steps to prevent: non-root ssh access to the system?

The correct answer is D. Creating the /etc/nologin file E. Ensuring that /etc/pam.d/sshd includes. D: If the file /etc/nologin exists, only root is allowed to log in; other users are turned away with an * In some cases, the security policy may dictate additional mechanisms, such as TCP wrappers, Pluggable Authentication Modules (PAM), or the implementation of…

Administer Remote Access

Question

Which two actions are the required steps to prevent: non-root ssh access to the system?

Options

  • AEnsuring that /etc/pam.d/sshd includes: account sufficient pam_nologin.so
  • BCreate the /etc/nologin/login.deny file containing a single line +all
  • CCreating the /etc/nologin.allow file containing a single line root
  • DCreating the /etc/nologin file
  • EEnsuring that /etc/pam.d/sshd includes:

How the community answered

(29 responses)
  • A
    7% (2)
  • B
    3% (1)
  • C
    10% (3)
  • D
    79% (23)

Explanation

D: If the file /etc/nologin exists, only root is allowed to log in; other users are turned away with an * In some cases, the security policy may dictate additional mechanisms, such as TCP wrappers, Pluggable Authentication Modules (PAM), or the implementation of Security-Enhanced Linux

Topics

#SSH#nologin#PAM#access control

Community Discussion

No community discussion yet for this question.

Full 1Z0-100 Practice