---
name: "_ldappasswd"
section: "1"
platform: "linux"
package: "ldapscripts"
version: "1.7.1-2"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/_ldappasswd"
---

# \_ldappasswd(1)

modifies a POSIX user account's password in LDAP.

## NAME

\_ldappasswd - modifies a POSIX user account's password in LDAP.

## SYNOPSIS

**\_ldappasswd** \<username**\|**uid\> \[encoded**password\]**

## 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)](/ldappasswd/1.md) command.

## SEE ALSO

[\_ldapfinger(1)](/_ldapfinger/1.md), [ldapscripts(5)](/ldapscripts/5.md).

## AVAILABILITY

The ldapscripts are provided under the GNU General Public License v2 (see COPYING for more details). The latest version of the ldapscripts is available on : **http://contribs.martymac.com**

## LIMITATIONS

When used interactively, passwords generated with this command are propagated with the [ldappasswd(1)](/ldappasswd/1.md) command. Thus, the resulting format depends on the 'password-hash' option of your server's [slapd.conf(5)](/slapd.conf/5.md) file.

You can always force an encoded password (using the hash format of your choice) by specifying it on the command line.

## BUGS

No bug known.
