MKPASSWD
NAME SYNOPSIS DESCRIPTION OPTIONS BUGS SEE ALSO AUTHOR
mkpasswd - Overfeatured front end to crypt(3)
mkpasswd PASSWORD SALT
mkpasswd encrypts the given password with the __crypt(3)?__ libc function using the given salt.
-S, --salt=STRING
Use the STRING as salt.
-H, --hash=TYPE
Compute the password using the TYPE algorithm. If TYPE is missing available algorithms are printed.
-P, --password-fd=NUM
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.
-s, --stdin
Like --password-fd=0.
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.
passwd(1), passwd(5), crypt(3), getpass(3)
mkpasswd and this man page were written by Marco d'Itri __
One page links to mkpasswd(1):