From 62ac86f17f00dd94826d65ed5a99123d95ef21aa Mon Sep 17 00:00:00 2001
From: Guenter Knauf
Date: Sun, 17 Apr 2011 19:15:57 +0000
Subject: [PATCH] Added docu patch for htpasswd change with r1094184.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1094188 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/programs/htpasswd.xml | 22 ++++++++++------------
1 file changed, 10 insertions(+), 12 deletions(-)
diff --git a/docs/manual/programs/htpasswd.xml b/docs/manual/programs/htpasswd.xml
index 6e613d08730..d70f38e3275 100644
--- a/docs/manual/programs/htpasswd.xml
+++ b/docs/manual/programs/htpasswd.xml
@@ -103,14 +103,12 @@ distribution.
one) is omitted. It cannot be combined with the -c
option.
-m
- Use MD5 encryption for passwords. On Windows, Netware and TPF, this is
- the default.
+ Use MD5 encryption for passwords. This is the default.
-d
- Use crypt()
encryption for passwords. The default on all
- platforms but Windows, Netware and TPF. Though possibly supported by
- htpasswd
on all platforms, it is not supported by the
- httpd server on Windows, Netware and TPF.
+ Use crypt()
encryption for passwords. This is not
+ supported by the httpd server on Windows and
+ Netware and TPF.
-s
Use SHA encryption for passwords. Facilitates migration from/to Netscape
@@ -161,10 +159,9 @@ distribution.
Adds or modifies the password for user 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
- system's crypt()
routine will be used. If the file does not
- exist, htpasswd
will do nothing except return an error.
+ is prompted for the password. The password will be encrypted using the
+ modified Apache MD5 algorithm. If the file does not exist,
+ htpasswd
will do nothing except return an error.
htpasswd -c /home/doe/public_html/.htpasswd jane
@@ -176,11 +173,12 @@ distribution.
will display a message and return an error status.
- htpasswd -mb /usr/web/.htpasswd-all jones Pwd4Steve
+ htpasswd -db /usr/web/.htpasswd-all jones Pwd4Steve
Encrypts the password from the command line (Pwd4Steve
)
- using the MD5 algorithm, and stores it in the specified file.
+ using the crypt()
algorithm, and stores it in the specified
+ file.
Security Considerations
--
2.47.2