/[svn]/ircd-hybrid/branches/8.2.x/tools/README.mkpasswd
ViewVC logotype

Annotation of /ircd-hybrid/branches/8.2.x/tools/README.mkpasswd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1274 - (hide annotations)
Mon Jan 30 23:41:59 2012 UTC (11 years ago) by michael
Original Path: ircd-hybrid-8/tools/README.mkpasswd
File size: 1787 byte(s)
- minor documentation updates and fixes

1 knight 31 $Id$
2 adx 30
3 michael 1272 This is documentation for the mkpasswd.c included in ircd-hybrid-8.
4 adx 30
5     This version of mkpasswd can create both DES and MD5 passwords, with
6     either randomly generated or user provided salts.
7    
8     Options:
9 michael 1272 -6 - Create a SHA-512 password
10     -5 - Create a SHA-256 password
11 adx 30 -m - Create an MD5 password
12 michael 1272 -b - Create a BlowFish password
13 adx 30 -d - Create a DES password
14 michael 1272 -e - Create an Extended DES password
15 adx 30 -l - Specify the length of a random MD5 salt
16 michael 1272 -r - Specify a number of rounds for a BlowFish or Extended DES password
17 adx 30 -p - Specify the plaintext password at the command line
18     -s - Specify the salt at the command line
19 michael 1272 -R - Specify a raw salt passed directly to crypt()
20 adx 30 -h - Get help
21    
22     Without the presence of any parameters, it'll behave like the old mkpasswd,
23     creating a DES password with a randomly generated salt and prompting for
24     the password (without echo).
25    
26     A DES salt is a pair of alphanumeric characters ('.' and '/' are permitted
27     as well), such as 'a4' or 'Td'.
28    
29     An MD5 salt consists of up to 16 (though most implementations limit you to
30     8) alphanumeric characters (plus '.' and '/'),
31     such as 'tGd' or 'J6d4dfG'.
32    
33     Known bugs:
34     Blowfish (on OpenBSD) is not yet supported
35     The encryption algorithms supported depend on your system's crypt()
36     implementation.
37     The maximum length of an MD5 salt is limited to your systems crypt()
38     implementation, typically 8.
39    
40     Supported Platforms (Known and tested):
41 michael 1274 Linux glibc (SHA since glibc 2.7, DES and MD5)
42 adx 30 FreeBSD 3.x (DES (MD5 maybe))
43     FreeBSD 4.x (DES and MD5)
44     Solaris 2.5-2.6 (DES only)
45     Cygwin 1.1.4 (DES only)
46     Prior Cygwin with the MD5 libcrypt (MD5 only)
47     OpenBSD 2.7 (don't link with -lcrypt) (DES and MD5, no Blowfish support)
48     Mac OS-X (Darwin) (don't link with -lcrypt) (DES only)
49    
50     Other systems probably work, but they haven't been amply tested.

Properties

Name Value
svn:eol-style native
svn:keywords Id Revision

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.30