LPIC-2 Exam 202 (Linux Engineer) — Question 76
Which of the following actions synchronizes UNIX passwords with the Samba passwords when the encrypted Samba password is changed using smbpasswd?
Answer options
- A. There are no actions to accomplish this since is not possible.
- B. Run netvamp regularly, to convert the passwords.
- C. Run winbind ""sync, to synchronize the passwords.
- D. Add unix password sync = yes to smb.conf
- E. Add smb unix password = sync to smb.conf
Correct answer: D
Explanation
The correct answer is D because adding 'unix password sync = yes' to smb.conf enables the synchronization of UNIX and Samba passwords. Answers A and B are incorrect as they either deny the possibility or suggest an irrelevant action, while C and E are incorrect because they do not represent the proper configuration needed for synchronization.