From cf6470e83fb5d1121a3b4743c6ec71d9c7a58b97 Mon Sep 17 00:00:00 2001 From: Dirk-Willem van Gulik Date: Wed, 4 Aug 1999 22:03:04 +0000 Subject: [PATCH] Attempt to close pr 4808 Can you mention htpassword in the mod_auth documentation. PR: 4808 Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83572 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_auth.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/manual/mod/mod_auth.html b/docs/manual/mod/mod_auth.html index e81babc5e1..a3f85d54be 100644 --- a/docs/manual/mod/mod_auth.html +++ b/docs/manual/mod/mod_auth.html @@ -103,6 +103,19 @@ slash), it is treated as relative to the ServerRoot.

Each line of the user file file contains a username followed by a colon, followed by the crypt() encrypted password. The behavior of multiple occurrences of the same user is undefined. +

+The utility htpasswd which is installed as part of the +binary distribution, or which can be found in src/support, +is used to maintain this password file. See the man +page for more details. In short +

+

+ htpasswd -c Filename username
+ Create a password file 'Filename' with 'username' + as the initial ID. It will prompt for the password. + htpasswd Filename username2
+ Adds or modifies in password file 'Filename' the 'username'. +

Note that searching large text files is very inefficient; AuthDBMUserFile should be -- 2.40.0