nerdexam
LPI

117-202 · Question #215

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 directly. 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

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

How the community answered

(24 responses)
  • A
    13% (3)
  • B
    4% (1)
  • D
    79% (19)
  • E
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 117-202 Practice