pwdhash (1) - Linux Manuals

pwdhash: Generator of password hashes


pwdhash - Generator of password hashes


pwdhash [-D config-dir] [-H] [-s scheme | -c comparepwd] password


Generates password hashes which can also be used in LDIF password fields. This uses the Directory Server password generator.


A summary of options is included below:
Show summary of options.
-s scheme
Password scheme to be used (e.g. MD5, SHA1, SHA256, SHA512, SSHA, SSHA256, SSHA512)
-c comparepassword
Password to be compared against
-D configdir
Takes the password schema directly from the ns-slapd configuration


dbscan was written by the 389 Project.


Report bugs to


Copyright © 2001 Sun Microsystems, Inc. Used by permission.
Copyright © 2008 Red Hat, Inc.
This manual page was written by Michele Baldessari <michele [at]>, for the Debian project (but may be used by others).
This is free software. You may redistribute copies of it under the terms of the Directory Server license found in the LICENSE file of this software distribution. This license is essentially the GNU General Public License version 2 with an exception for plug-in distribution.