• Use ldapmodify to change a user’s password by replacing the userPassword attribute.
    $ bin/ldapmodify
    dn: uid=user.0,ou=People,dc=example,dc=com 
    changetype: modify 
    replace: userPassword 
    userPassword: newpw