mkpasswd - Overfeatured front end to crypt(3)
2. SYNOPSIS ▲
3. DESCRIPTION ▲
mkpasswd encrypts the given password with the
R crypt(3) libc function using the given salt.
4. OPTIONS ▲
Use the STRING as salt. It must not contain prefixes such as $1$.
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.
Compute the password using the TYPE method. If TYPE is help then the available methods are printed.
Read the password from file descriptor NUM instead of using getpass(3). If the file descriptor is not connected to a tty then no other message than the hashed password is printed on stdout.
5. ENVIRONMENT ▲
MKPASSWD_OPTIONS A list of options which will be evalued before the ones specified on the command line.
6. BUGS ▲
If the --stdin option is used, passwords containing some control characters may not be read correctly.
7. AUTHOR ▲
mkpasswd and this man page were written by Marco d'Itri <> and are licensed under the terms of the GNU General Public License, version 2 or higher.