LPIC-2 Exam 202 (Linux Engineer) — Question 105
Which of the following commands is used to change user passwords in an OpenLDAP directory?
Answer options
- A. setent
- B. ldpasswd
- C. olppasswd
- D. ldappasswd
- E. ldapchpw
Correct answer: D
Explanation
The ldappasswd command is specifically designed for changing user passwords in OpenLDAP. The other options either do not exist as OpenLDAP commands or serve different purposes, making them unsuitable for this task.