nerdexam
CompTIA

LX0-101 · Question #217

How must Samba be configured, so that it can check passwords against the ones in /etc/passwd and /etc/shadow?

The correct answer is D. It is not possible for Samba to use/etc/passwd and /etc/shadow. See the full explanation below for the reasoning.

Question

How must Samba be configured, so that it can check passwords against the ones in /etc/passwd and /etc/shadow?

Options

  • ARun smbpasswd to convert /etc/passwd and /etc/shadow to a Samba password file.
  • BSet the parameters "encrypt passwords = yes" and "password file = /etc/passwd".
  • CSet the parameters "encrypt passwords = yes", "password file = /etc/passwd" and "password
  • DIt is not possible for Samba to use/etc/passwd and /etc/shadow.
  • EDelete the smbpasswd file and create a symbolic link to the passwd and shadow file.

How the community answered

(35 responses)
  • A
    3% (1)
  • B
    11% (4)
  • C
    3% (1)
  • D
    77% (27)
  • E
    6% (2)

Community Discussion

No community discussion yet for this question.

Full LX0-101 Practice