Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/share/man/man5 Pullup rev 1.5-1.6 (requested by provos ...



details:   https://anonhg.NetBSD.org/src/rev/a19590f25616
branches:  netbsd-1-6
changeset: 531172:a19590f25616
user:      jmc <jmc%NetBSD.org@localhost>
date:      Fri Mar 26 22:53:16 2004 +0000

description:
Pullup rev 1.5-1.6 (requested by provos in ticket #1386)

Introduce bcrypt password scheme. Adds the arc4random API for creating
cryptographically strong random numbers.

diffstat:

 share/man/man5/passwd.conf.5 |  15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diffs (44 lines):

diff -r af18d5319930 -r a19590f25616 share/man/man5/passwd.conf.5
--- a/share/man/man5/passwd.conf.5      Fri Mar 26 22:53:14 2004 +0000
+++ b/share/man/man5/passwd.conf.5      Fri Mar 26 22:53:16 2004 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: passwd.conf.5,v 1.4 2002/02/13 08:18:15 ross Exp $
+.\"    $NetBSD: passwd.conf.5,v 1.4.4.1 2004/03/26 22:53:16 jmc Exp $
 .\"
 .\" Copyright 1997 Niels Provos <provos%physnet.uni-hamburg.de@localhost>
 .\" All rights reserved.
@@ -60,11 +60,16 @@
 Possible values are:
 .Dq old ,
 .Dq newsalt,\*[Lt]rounds\*[Gt] ,
+.Dq md5 ,
 and
-.Dq md5 .
+.Dq blowfish,\*[Lt]rounds\*[Gt] .
 For
 .Dq newsalt
 the value of rounds is a 24-bit integer with a minimum of 7250 rounds.
+For
+.Dq blowfish
+the value can be between 4 and 31.
+It specifies the base 2 logarithm of the number of rounds.
 .It Sy ypcipher
 The cipher to use for YP passwords.
 The possible values are the same as for localcipher.
@@ -77,11 +82,15 @@
 .It Pa /etc/passwd.conf
 .El
 .Sh EXAMPLES
-Use MD5 as the local cipher and old-style DES as the YP cipher:
+Use MD5 as the local cipher and old-style DES as the YP cipher.
+Use blowfish with 2^5 rounds for root:
 .Bd -literal
  default:
       localcipher = md5
       ypcipher = old
+
+ root:
+      localcipher = blowfish,5
 .Ed
 .Sh SEE ALSO
 .Xr passwd 1 ,



Home | Main Index | Thread Index | Old Index