Mkpasswd

Mkpasswd (1) centos man page mkpasswd generates passwords and can apply them automatically to users. Mkpasswd is based on the code from Chapter 23 of the O'Reilly book 'Exploring Expect'. With no arguments, mkpasswd returns a new password. Mkpasswd With a user name, mkpasswd assigns a new password to the user. Mkpasswd don The. When running mkpasswd from a Windows or Mac console login, the hash will be placed in the clipboard so you can immediately paste it into the AuthFile. If you are running mkpasswd remotely, such as via SSH, make sure that you select all 80 characters when copying it. Mkpasswd does not change your AuthFile.

Latest version

Released:

A simple tool to create crypt hashed passwords

Project description

Mkpasswd

Project details


Release historyRelease notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mkpasswd, version 0.1
Filename, sizeFile typePython versionUpload dateHashes
Filename, size mkpasswd-0.1.tar.gz (973 Bytes) File type Source Python version None Upload dateHashes
Close

Hashes for mkpasswd-0.1.tar.gz

Hashes for mkpasswd-0.1.tar.gz
AlgorithmHash digest
SHA256186cb26f9fea3365751c36b16c422efee207533837d8f724c99e3703ac3a2fd3
MD587b688c39d5ad0fd4b9c7140abf29227
BLAKE2-2569b449a3b401174d501291a31b5929c3e72802f202f9877412190f6d7a1c323a7


see also : passwd

Synopsis

mkpasswdPASSWORD SALT


add an example, a script, a trick and tips

Mkpasswd

examples

Linux mkpasswd
0
source

description

mkpasswdencrypts the given password with the crypt(3) libcfunction using the given salt.

options

-S,--salt=STRING

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

-R, --rounds=NUMBER

Use NUMBER rounds. Thisargument is ignored if the method chosen does not supportvariable rounds. For the OpenBSD Blowfish method this is thelogarithm of the number of rounds.

-m, --method=TYPE

Compute the password using theTYPE method. If TYPE is help then theavailable methods are printed.

-5

Like --method=md5.

-P,--password-fd=NUM

Read the password from filedescriptor NUM instead of using getpass(3). Ifthe file descriptor is not connected to a tty then no othermessage than the hashed password is printed on stdout.

-s, --stdin

Like--password-fd=0.

environment

MKPASSWD_OPTIONS

A list of options which will be evalued before the ones specified on the command line.


bugsMkpasswd

Mkpasswd Ubuntu

If the--stdin option is used, passwords containing somecontrol characters may not be read correctly.
This programs suffers of a bad case of featuritis.

Linux Mkpasswd


Mkpasswd Linux

see alsoUbuntu

passwd ,passwd, crypt, getpass

Mkpasswd Windows


author

Mkpasswd Linux

mkpasswdand this man page were written by Marco d’Itri<md[:at:]linux[:dot:]it> and are licensed under the termsof the GNU General Public License, version 2 or higher.