Changing a user’s password using the Modify operation
Steps
-
Use
ldapmodifyto change a user’s password by replacing theuserPasswordattribute.Example:
$ bin/ldapmodify dn: uid=user.0,ou=People,dc=example,dc=com changetype: modify replace: userPassword userPassword: newpw