]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
update htpasswd documentation
authorAndré Malo <nd@apache.org>
Tue, 20 May 2003 23:41:23 +0000 (23:41 +0000)
committerAndré Malo <nd@apache.org>
Tue, 20 May 2003 23:41:23 +0000 (23:41 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@99970 13f79535-47bb-0310-9956-ffa450edef68

docs/man/htpasswd.1
docs/manual/programs/htpasswd.html.en
docs/manual/programs/htpasswd.xml

index 05ea498088c37be18b88fd6ee43f6b244c40a738..2d2b3266873f8d85d1ddfef7595489c03e3d372f 100644 (file)
@@ -19,7 +19,7 @@
 .el .ne 3
 .IP "\\$1" \\$2
 ..
-.TH "HTPASSWD" 1 "2003-05-13" "Apache HTTP Server" "htpasswd"
+.TH "HTPASSWD" 1 "2003-05-20" "Apache HTTP Server" "htpasswd"
 
 .SH NAME
 htpasswd \- Manage user files for basic authentication
@@ -27,10 +27,10 @@ htpasswd \- Manage user files for basic authentication
 .SH "SYNOPSIS"
  
 .PP
-\fBhtpasswd\fR [ -\fBc\fR ] [ -\fBm\fR ] \fIpasswdfile\fR \fIusername\fR
+\fBhtpasswd\fR [ -\fBc\fR ] [ -\fBm\fR ] [ -\fBD\fR ] \fIpasswdfile\fR \fIusername\fR
  
 .PP
-\fBhtpasswd\fR -\fBb\fR [ -\fBc\fR ] [ -\fBm\fR | -\fBd\fR | -\fBp\fR | -\fBs\fR ] \fIpasswdfile\fR \fIusername\fR \fIpassword\fR
+\fBhtpasswd\fR -\fBb\fR [ -\fBc\fR ] [ -\fBm\fR | -\fBd\fR | -\fBp\fR | -\fBs\fR ] [ -\fBD\fR ] \fIpasswdfile\fR \fIusername\fR \fIpassword\fR
  
 .PP
 \fBhtpasswd\fR -\fBn\fR [ -\fBm\fR | -\fBd\fR | -\fBs\fR | -\fBp\fR ] \fIusername\fR
@@ -80,6 +80,9 @@ Use SHA encryption for passwords\&. Facilitates migration from/to Netscape serve
 -p
 Use plaintext passwords\&. Though htpasswd will support creation on all platforms, the httpd daemon will only accept plain text passwords on Windows, Netware and TPF\&.  
 .TP
+-D
+Delete user\&. If the username exists in the specified htpasswd file, it will be deleted\&.  
+.TP
 \fIpasswdfile\fR
 Name of the file to contain the user name and password\&. If -c is given, this file is created if it does not already exist, or rewritten and truncated if it does exist\&.  
 .TP
index 1ad71801d2edfe5dc9782f9f5742b68090f3f04c..cabb13e151327cf2df4766ec19a09b9abe93d339 100644 (file)
@@ -53,14 +53,16 @@ distribution.</p></li></ul></div>
 <h2><a name="synopsis" id="synopsis">Synopsis</a></h2>
     <p><code><strong>htpasswd</strong>
     [ -<strong>c</strong> ]
-    [ -<strong>m</strong> ] <var>passwdfile</var> <var>username</var></code></p>
+    [ -<strong>m</strong> ]
+    [ -<strong>D</strong> ] <var>passwdfile</var> <var>username</var></code></p>
 
     <p><code><strong>htpasswd</strong> -<strong>b</strong>
     [ -<strong>c</strong> ]
     [ -<strong>m</strong> |
       -<strong>d</strong> |
       -<strong>p</strong> |
-      -<strong>s</strong> ] <var>passwdfile</var> <var>username</var>
+      -<strong>s</strong> ] 
+    [ -<strong>D</strong> ]  <var>passwdfile</var> <var>username</var>
     <var>password</var></code></p>
 
     <p><code><strong>htpasswd</strong> -<strong>n</strong>
@@ -115,6 +117,10 @@ distribution.</p></li></ul></div>
     creation on all platforms, the <a href="httpd.html">httpd</a> daemon will
     only accept plain text passwords on Windows, Netware and TPF.</dd>
 
+    <dt><code>-D</code></dt>
+    <dd>Delete user. If the username exists in the specified htpasswd file, it
+    will be deleted.</dd>
+    
     <dt><code><var>passwdfile</var></code></dt>
     <dd>Name of the file to contain the user name and password. If
     <code>-c</code> is given, this file is created if it does not already exist,
index c2fdd0d6e18b53f9d1c79604cb2076fff42d9e6f..b6bb4e25c3ab941d39f2c2989f639c3ba076e268 100644 (file)
@@ -39,14 +39,16 @@ distribution.</p></seealso>
 <section id="synopsis"><title>Synopsis</title>
     <p><code><strong>htpasswd</strong>
     [ -<strong>c</strong> ]
-    [ -<strong>m</strong> ] <var>passwdfile</var> <var>username</var></code></p>
+    [ -<strong>m</strong> ]
+    [ -<strong>D</strong> ] <var>passwdfile</var> <var>username</var></code></p>
 
     <p><code><strong>htpasswd</strong> -<strong>b</strong>
     [ -<strong>c</strong> ]
     [ -<strong>m</strong> |
       -<strong>d</strong> |
       -<strong>p</strong> |
-      -<strong>s</strong> ] <var>passwdfile</var> <var>username</var>
+      -<strong>s</strong> ] 
+    [ -<strong>D</strong> ]  <var>passwdfile</var> <var>username</var>
     <var>password</var></code></p>
 
     <p><code><strong>htpasswd</strong> -<strong>n</strong>
@@ -101,6 +103,10 @@ distribution.</p></seealso>
     creation on all platforms, the <a href="httpd.html">httpd</a> daemon will
     only accept plain text passwords on Windows, Netware and TPF.</dd>
 
+    <dt><code>-D</code></dt>
+    <dd>Delete user. If the username exists in the specified htpasswd file, it
+    will be deleted.</dd>
+    
     <dt><code><var>passwdfile</var></code></dt>
     <dd>Name of the file to contain the user name and password. If
     <code>-c</code> is given, this file is created if it does not already exist,