INN commit: trunk/doc/pod (checklist.pod ckpasswd.pod)

INN Commit rra at isc.org
Wed Sep 2 12:44:39 UTC 2015


    Date: Wednesday, September 2, 2015 @ 05:44:39
  Author: iulius
Revision: 9937

Improve documentation about the use of htpasswd

Modified:
  trunk/doc/pod/checklist.pod
  trunk/doc/pod/ckpasswd.pod

---------------+
 checklist.pod |   17 ++++++++++-------
 ckpasswd.pod  |    5 ++++-
 2 files changed, 14 insertions(+), 8 deletions(-)

Modified: checklist.pod
===================================================================
--- checklist.pod	2015-09-02 12:35:17 UTC (rev 9936)
+++ checklist.pod	2015-09-02 12:44:39 UTC (rev 9937)
@@ -285,17 +285,20 @@
 
 There is a Perl script in the ckpasswd(8) man page if you want to
 do authentications by password and have the appropriate libraries.
-Copy it to I<pathbin>, name the file something like F<makepasswd.pl> and
-change the internal paths to whatever you're using and wherever you're
-putting the newsusers database.  The standard Apache B<htpasswd> tool
-also works just fine to create INN password files, as well as pure Perl.
-For instance, a line for the newsusers database corresponding to the
-user C<user> with the password C<pass> would be C<user:LIfOpbjNaEQYE>
-as obtained by the following commands::
+Copy it to I<pathbin>, name the file something like F<makepasswd.pl>
+and change the internal paths to whatever you're using and wherever
+you're putting the newsusers database.  The standard Apache B<htpasswd>
+tool also works just fine to create INN password files.  For instance,
+a line for the newsusers database corresponding to the user C<user>
+with the password C<pass> would be C<user:LIfOpbjNaEQYE> as obtained
+by the following command:
 
     % htpasswd -nbd user pass
     user:LIfOpbjNaEQYE
 
+In case B<htpasswd> is not installed or if you do not want to depend
+on it, another command involving Perl does a similar job:
+
     % perl -e 'print "user:".crypt("pass", "LI")."\n";'
     user:LIfOpbjNaEQYE
 

Modified: ckpasswd.pod
===================================================================
--- ckpasswd.pod	2015-09-02 12:35:17 UTC (rev 9936)
+++ ckpasswd.pod	2015-09-02 12:44:39 UTC (rev 9937)
@@ -93,11 +93,14 @@
 will use crypt(3).
 
 A line in I<filename> for the user C<user> with the password C<pass>
-would be C<user:LIfOpbjNaEQYE> as obtained by the following commands:
+would be C<user:LIfOpbjNaEQYE> as obtained by the following command:
 
     % htpasswd -nbd user pass
     user:LIfOpbjNaEQYE
 
+In case B<htpasswd> is not installed or if you do not want to depend
+on it, another command involving Perl does a similar job:
+
     % perl -e 'print "user:".crypt("pass", "LI")."\n";'
     user:LIfOpbjNaEQYE
 



More information about the inn-committers mailing list