Section: Debian GNU/Linux (1)
Updated: 21 March 2008
Return to Main Contents
mkpasswd - Overfeatured front end to crypt(3)
encrypts the given password with the
libc function using the given salt.
- -S, --salt=STRING
Use the STRING as salt. It must not contain prefixes such as $1$.
- -R, --rounds=NUMBER
Use NUMBER rounds. This argument is ignored if the method chosen
does not support variable rounds. For the OpenBSD Blowfish method this is
the logarithm of the number of rounds.
- -m, --method=TYPE
Compute the password using the TYPE method.
If TYPE is help then the available methods are printed.
- -P, --password-fd=NUM
Read the password from file descriptor NUM instead of using
If the file descriptor is not connected to a tty then no other message
than the hashed password is printed on stdout.
- -s, --stdin
A list of options which will be evalued before the ones specified on the
If the --stdin option is used, passwords containing some control
characters may not be read correctly.
- This programs suffers of a bad case of featuritis.
and this man page were written by Marco d'Itri <email@example.com>
and are licensed under the terms of the GNU General Public License,
version 2 or higher.
- SEE ALSO
This document was created by
using the manual pages.