Source-Changes-HG archive

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

[src/trunk]: src/lib/libutil Per discussion on tech-security and tech-userlev...



details:   https://anonhg.NetBSD.org/src/rev/5c78d2545442
branches:  trunk
changeset: 525669:5c78d2545442
user:      perry <perry%NetBSD.org@localhost>
date:      Mon Apr 15 03:06:46 2002 +0000

description:
Per discussion on tech-security and tech-userlevel, upgrade default
passwd type to md5. Note that with the passwd.conf facility, one may
easily "downgrade" the default to type old if one wishes, and that
existing passwds continue to work as before -- this only changes the
default for new passwds.

diffstat:

 lib/libutil/passwd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e54fc1651973 -r 5c78d2545442 lib/libutil/passwd.c
--- a/lib/libutil/passwd.c      Mon Apr 15 03:01:31 2002 +0000
+++ b/lib/libutil/passwd.c      Mon Apr 15 03:06:46 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: passwd.c,v 1.32 2001/11/05 15:03:49 lukem Exp $        */
+/*     $NetBSD: passwd.c,v 1.33 2002/04/15 03:06:46 perry Exp $        */
 
 /*
  * Copyright (c) 1987, 1993, 1994, 1995
@@ -35,7 +35,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: passwd.c,v 1.32 2001/11/05 15:03:49 lukem Exp $");
+__RCSID("$NetBSD: passwd.c,v 1.33 2002/04/15 03:06:46 perry Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include <sys/types.h>
@@ -466,7 +466,7 @@
 pw_default(const char *option)
 {
        static const char *options[][2] = {
-               { "localcipher",        "old" },
+               { "localcipher",        "md5" },
                { "ypcipher",           "old" },
        };
        int i;



Home | Main Index | Thread Index | Old Index