Source-Changes-HG archive

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

[src/trunk]: src/share/man/man5 Document what the default values for localcip...



details:   https://anonhg.NetBSD.org/src/rev/29dd99bbec8f
branches:  trunk
changeset: 759251:29dd99bbec8f
user:      jmmv <jmmv%NetBSD.org@localhost>
date:      Fri Dec 03 21:41:40 2010 +0000

description:
Document what the default values for localcipher and ypcipher are.

diffstat:

 share/man/man5/passwd.conf.5 |  25 +++++++++++++++++++++----
 1 files changed, 21 insertions(+), 4 deletions(-)

diffs (70 lines):

diff -r c70bf0157e4a -r 29dd99bbec8f share/man/man5/passwd.conf.5
--- a/share/man/man5/passwd.conf.5      Fri Dec 03 21:40:04 2010 +0000
+++ b/share/man/man5/passwd.conf.5      Fri Dec 03 21:41:40 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: passwd.conf.5,v 1.9 2009/10/03 12:45:15 zafer Exp $
+.\"    $NetBSD: passwd.conf.5,v 1.10 2010/12/03 21:41:40 jmmv Exp $
 .\"
 .\" Copyright 1997 Niels Provos <provos%physnet.uni-hamburg.de@localhost>
 .\" All rights reserved.
@@ -28,7 +28,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd September 4, 2005
+.Dd December 3, 2010
 .Dt PASSWD.CONF 5
 .Os
 .Sh NAME
@@ -57,6 +57,7 @@
 .Bl -tag -width localcipher
 .It Sy localcipher
 The cipher to use for local passwords.
+.Pp
 Possible values are:
 .Dq old ,
 .Dq newsalt,\*[Lt]rounds\*[Gt] ,
@@ -75,9 +76,16 @@
 .Dq blowfish
 the value can be between 4 and 31.
 It specifies the base 2 logarithm of the number of rounds.
+.Pp
+If not specified, the default value is
+.Dq old .
 .It Sy ypcipher
 The cipher to use for YP passwords.
+.Pp
 The possible values are the same as for localcipher.
+.Pp
+If not specified, the default value is
+.Dq old .
 .El
 .Pp
 To retrieve information from this file use
@@ -87,11 +95,11 @@
 .It Pa /etc/passwd.conf
 .El
 .Sh EXAMPLES
-Use MD5 as the local cipher and old-style DES as the YP cipher.
+Use SHA1 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
+      localcipher = sha1
       ypcipher = old
 
  root:
@@ -107,3 +115,12 @@
 .Nm
 configuration file first appeared in
 .Nx 1.6 .
+.Pp
+The default value of
+.Sy localcipher
+was set to
+.Dq sha1
+in
+.Pa /etc/passwd.conf
+starting from
+.Nx 6.0 .



Home | Main Index | Thread Index | Old Index