Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

Debian 4.0

(Etch)

mkpasswd(1)


MKPASSWD

MKPASSWD

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
BUGS
SEE ALSO
AUTHOR

NAME

mkpasswd − Overfeatured front end to crypt(3)

SYNOPSIS

mkpasswd PASSWORD SALT

DESCRIPTION

mkpasswd encrypts the given password with the crypt(3) libc function using the given salt.

OPTIONS

-S, --salt=STRING

Use the STRING as salt. It must not contain prefixes such as $1$.

-H, --hash=TYPE

Compute the password using the TYPE algorithm. If TYPE is help 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.

BUGS

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.

SEE ALSO

passwd(1), passwd(5), crypt(3), getpass(3)

AUTHOR

mkpasswd and this man page were written by Marco d’Itri <md@linux.it> and are licensed under the terms of the GNU GPL.



mkpasswd(1)