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 versionReleased:
A simple tool to create crypt hashed passwords
Project description
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size mkpasswd-0.1.tar.gz (973 Bytes) | File type Source | Python version None | Upload date | Hashes |
Hashes for mkpasswd-0.1.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | 186cb26f9fea3365751c36b16c422efee207533837d8f724c99e3703ac3a2fd3 |
MD5 | 87b688c39d5ad0fd4b9c7140abf29227 |
BLAKE2-256 | 9b449a3b401174d501291a31b5929c3e72802f202f9877412190f6d7a1c323a7 |
see also : passwd
Synopsis
mkpasswdPASSWORD SALT
add an example, a script, a trick and tips
examples
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.
bugs
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 alsopasswd ,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.