nerdexam
LPI

202-400 · Question #67

Select the alternative that shows the correct way to disable a user login (except for root)

The correct answer is E. The use of the pam_nologin module along with the /etc/nologin configuration file. See the full explanation below for the reasoning.

Question

Select the alternative that shows the correct way to disable a user login (except for root)

Options

  • AThe use of the pam_nologin 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/pwdb.conf configuration file
  • DThe use of the pam_console module along with the /etc/security/console.perms configuration
  • EThe use of the pam_nologin module along with the /etc/nologin configuration file

How the community answered

(30 responses)
  • A
    3% (1)
  • C
    7% (2)
  • D
    10% (3)
  • E
    80% (24)

Community Discussion

No community discussion yet for this question.

Full 202-400 Practice