nerdexam
LPI

117-303 · Question #101

The system administrator wishes to use the pam_listfile.so module to restrict which users are allowed to login via SSH. Which line will configure this behaviour?

The correct answer is C. auth required pam_listfile.so item=user sense=allow file=/etc/sshd/sshd.allow onerr=fail. Exam Questions, Study Guides, Practice Tests. Lead the way to help you pass any IT Certification exams, 100% Pass Guaranteed or Full Refund. Especially Cisco, CompTIA, Citrix, EMC, HP, Oracle, VMware, Juniper, Check Point, LPI, Nortel, EXIN and so on. Our Slogan: First Test…

300.3 Samba User and Group Management

Question

The system administrator wishes to use the pam_listfile.so module to restrict which users are allowed to login via SSH. Which line will configure this behaviour?

Options

  • Aauth required pam_listfile.so item=user sense=deny file=/etc/sshd/sshd.deny onerr=succeed
  • Bauth required pam_listfile.so item=user sense=allow file=/etc/sshd/sshd.allow onerr=succeed
  • Cauth required pam_listfile.so item=user sense=allow file=/etc/sshd/sshd.allow onerr=fail
  • Dauth required pam_listfile.so item=user sense=deny file=/etc/sshd/sshd.deny onerr=fail

How the community answered

(29 responses)
  • A
    17% (5)
  • B
    7% (2)
  • C
    72% (21)
  • D
    3% (1)

Explanation

Exam Questions, Study Guides, Practice Tests. Lead the way to help you pass any IT Certification exams, 100% Pass Guaranteed or Full Refund. Especially Cisco, CompTIA, Citrix, EMC, HP, Oracle, VMware, Juniper, Check Point, LPI, Nortel, EXIN and so on. Our Slogan: First Test, First Pass. Help you to pass any IT Certification exams at the first try. You can reach us at any of the email addresses listed below. Any problems about IT certification or our products, you could rely upon us, we will give you satisfactory answers in 24 hours.

Topics

#PAM#pam_listfile#SSH access control#authentication

Community Discussion

No community discussion yet for this question.

Full 117-303 Practice