nerdexam
LPI

202-400 · 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

(38 responses)
  • B
    11% (4)
  • C
    5% (2)
  • D
    82% (31)
  • E
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 202-400 Practice