_ldappasswd1
Modifies a posix user account's password in ldap.
Usage
_ldappasswd {<username | uid>
[encodedpassword]}
Options
- <username | uid>
-
The name or uid of the user whose password has to be modified.
- [encoded password]
-
If specified this way, the password will be copied verbatim into the LDAP directory. If not specified, you will be prompted for a password that will be changed using the ldappasswd(1) command.
Limitations
When used interactively, passwords generated with this command are propagated with the ldappasswd(1) command. Thus, the resulting format depends on the 'password-hash' option of your server's slapd.conf(5) file.
You can always force an encoded password (using the hash format of your choice) by specifying it on the command line.