nerdexam
LPI

202-450 · Question #388

Select the alternative that shows the correct way to disable a user login for all users except root.

The correct answer is D. The use of the pam_nologin module along with the /etc/nologin configuration file. You've hit your weekly limit · resets 5am (America/New_York)

213 System Security

Question

Select the alternative that shows the correct way to disable a user login for all users except root.

Options

  • AThe use of the pam_block module along with the /etc/login configuration file.
  • BThe use of the pam_deny module along with the /etc/deny configuration file.
  • CThe use of the pam_pwdb module along with the /etc/pwdv.conf configuration file.
  • DThe use of the pam_nologin module along with the /etc/nologin configuration file.

How the community answered

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

Explanation

You've hit your weekly limit · resets 5am (America/New_York)

Topics

#PAM#pam_nologin#login restriction#/etc/nologin

Community Discussion

No community discussion yet for this question.

Full 202-450 Practice