Visit The New, Modern Unix Linux Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #853
Difficulty: Medium
AngularJS most notable feature is the two-way data binding.
True or False?
Linux & Unix Commands - Search Man Pages

mkpasswd(1) [linux man page]

MKPASSWD(1)							 Debian GNU/Linux						       MKPASSWD(1)

mkpasswd - Overfeatured front end to crypt(3) SYNOPSIS
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$. -R, --rounds=NUMBER Use NUMBER rounds. This argument is ignored if the method chosen does not support variable rounds. For the OpenBSD Blowfish method this is the logarithm of the number of rounds. -m, --method=TYPE Compute the password using the TYPE method. If TYPE is help then the available methods are printed. -5 Like --method=md5. -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. ENVIRONMENT
MKPASSWD_OPTIONS 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 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 <> and are licensed under the terms of the GNU General Public License, version 2 or higher. Marco d'Itri 21 March 2008 MKPASSWD(1)

Check Out this Related Man Page

crypt_sunmd5(5) 					Standards, Environments, and Macros					   crypt_sunmd5(5)

crypt_sunmd5 - password hashing module using MD5 message hash algorithm SYNOPSIS
/usr/lib/security/$ISA/ DESCRIPTION
The crypt_sunmd5 module is a one-way password hashing module for use with crypt(3C) that uses the MD5 message hash algorithm. The algorithm identifier for crypt.conf(4) and policy.conf(4) is md5. This module is designed to make it difficult to crack passwords that use brute force attacks based on high speed MD5 implementations that use code inlining, unrolled loops, and table lookup. The maximum password length for crypt_sunmd5 is 255 characters. The following options can be passed to the module by means of crypt.conf(4): rounds=<positive_number> Specifies the number of additional rounds of MD5 to use in generation of the salt; the default number of rounds is 4096. Negative values have no effect and are ignored, that is, the number of rounds cannot be lowered below 4096. The number of additional rounds is stored in the salt string returned by crypt_gensalt(3C). For example: $md5,rounds=1000$nlxmTTpz$ When crypt_gensalt(3C) is being used to generate a new salt, if the number of additional rounds configured in crypt.conf(4) is greater than that in the old salt, the value from crypt.conf(4) is used instead. This allows for migration to stronger (but more time-consuming) salts on password change. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
passwd(1), crypt(3C), crypt_genhash_impl(3C), crypt_gensalt(3C), crypt_gensalt_impl(3C), getpassphrase(3C), crypt.conf(4), passwd(4), pol- icy.conf(4), attributes(5) SunOS 5.11 23 Dec 2003 crypt_sunmd5(5)

4 More Discussions You Might Find Interesting

1. BSD

comparable command in OpenBSD for linux's "passwd -l (name)"

i'm trying to get a samba server up and running. however, there is no argument in OpenBSD's "passwd" command that i know of that will allow the following: -l This option is used to lock the specified account and it is available to root only. The locking is performed by... (1 Reply)
Discussion started by: xyyz
1 Replies

2. UNIX for Dummies Questions & Answers

Single line password reset.

Hi, I need to know if this command echo NEWPASSWORD | passwd --stdin USERNAME that works fine on Red Hat Linux, is also available on other Unix/Linux machines (AIX, FreeBSD, OpenBSD, SunOS, Mandrake, Debian, Gentoo, Lindows, Slackware, Xandros, HP-UX, IRIX, SCO, MacOS, BSDi ...). ... (2 Replies)
Discussion started by: margi973
2 Replies

3. Shell Programming and Scripting

How to read those files and output to base?

Hi, -rwxr-xr-x 1 abc mkpasswd 2483 Oct 20 15:42 0132200710-ps5_cdrm.unl -rwxr-xr-x 1 abc mkpasswd 1826 Oct 20 15:43 0132200710-ps5_cdrn.unl -rwxr-xr-x 1 abc mkpasswd 1788 Oct 20 15:44 0132200710-ps5_cdro.unl -rwxr-xr-x 1 abc mkpasswd 1681 Oct 20 15:44 0132200710-ps5_cdrp.unl -rwxr-xr-x... (4 Replies)
Discussion started by: rauphelhunter
4 Replies

4. Linux

Set password in single command

Hi, Can we set password for linux in non-interactive mode. I didn't find suitable option for this in man page. If we wnter "passwd" command, it will tell "Enter password" and "Re-enter password". i wanted to run this step in a script, and i don't want to use "expect" so i am looking for a single... (8 Replies)
Discussion started by: successlin
8 Replies

Featured Tech Videos