From 550d8e8e6ccef95a119bc265101792b0475a7aa0 Mon Sep 17 00:00:00 2001
From: Daniel Baumann Adds or modifies the password for user -c
option.
-m
-B
-C
-B
(bcrypt
- encryption). It sets the computing time used for the bcrypt algorithm
+ hashing). It sets the computing time used for the bcrypt algorithm
(higher is more secure but slower, default: 5, valid: 4 to 31).-d
crypt()
encryption for passwords. The default on all
+ crypt()
hashing for passwords. The default on all
platforms but Windows and Netware. Though possibly supported by
htdbm
on all platforms, it is not supported by the
httpd
server on Windows and Netware.
This algorithm is insecure by today's standards.-s
password
-b
flag.-TDBTYPE
jsmith
. The user
is prompted for the password. If executed on a Windows system, the password
- will be encrypted using the modified Apache MD5 algorithm; otherwise, the
+ will be hashed using the modified Apache MD5 algorithm; otherwise, the
system's crypt()
routine will be used. If the file does not
exist, htdbm
will do nothing except return an error.
The use of the -b
option is discouraged, since when it is
- used the unencrypted password appears on the command line.
When using the crypt()
algorithm, note that only the first
8 characters of the password are used to form the password. If the supplied
password is longer, the extra characters will be silently discarded.
The SHA encryption format does not use salting: for a given password,
- there is only one encrypted representation. The crypt()
and
+
The SHA hashing option does not use salting: for a given password,
+ there is only one hashed representation. The crypt()
and
MD5 formats permute the representation by prepending a random salt string,
to make dictionary attacks against the passwords more difficult.
On the Windows platform, passwords encrypted with +
On the Windows platform, passwords hashed with
htdbm
are limited to no more than 255
characters in length. Longer passwords will be truncated to 255
characters.
The MD5 algorithm used by htdbm
is specific to the Apache
- software; passwords encrypted using it will not be usable with other Web
+ software; passwords hashed using it will not be usable with other Web
servers.
Usernames are limited to 255
bytes and may not include the
@@ -338,7 +338,7 @@ var comments_identifier = 'http://httpd.apache.org/docs/2.4/programs/htdbm.html'
}
})(window, document);
//-->