Mkpasswd


see also : passwd

  1. Mkpasswd Mac
  2. Mkpasswd Command Not Found
  3. Mkpasswd Rhel
  4. Mkpasswd Package

Synopsis

For openSUSE Leap system, use Zypper Command to install mkpasswd. $ sudo zypper install expect. Run the mkpasswd command in terminal to generate a random password. $ mkpasswd 37slQepD. Run the mkpasswd command with the following format to generate a random strong password with 14 characters.

mkpasswdPASSWORD SALT

Mkpasswd(1) - Linux man page Name mkpasswd - generate new password, optionally apply it to a user Synopsis mkpasswd args user Introduction 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'. Currently the Ubuntu/Debian mkpasswd command does not support yescrypt. In order to use it anyway, we can use the ulikoehler/mkpasswd docker image to run the proper version of mkpasswd: docker run -rm -it ulikoehler/mkpasswd. This will prompt you for a password and then echo the yescrypt encrypted and salted password.


add an example, a script, a trick and tips

examples

0
source

description

Mkpasswd Mac

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

Mkpasswd debian

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

Mkpasswd Command Not Found

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


bugs

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


see also

passwd ,passwd, crypt, getpass


Mkpasswd Rhel

author

Mkpasswd Package

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.