Subject: misc/14740: [PATCH] Missing example passwd.conf file.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <sketch@rd.bbc.co.uk>
List: netbsd-bugs
Date: 11/26/2001 09:15:00
>Number:         14740
>Category:       misc
>Synopsis:       [PATCH] Missing example passwd.conf file.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 26 09:16:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Perkin
>Release:        1.5Y
>Organization:
British Broadcasting Corporation
>Environment:
NetBSD trumpton.sketch.org.uk 1.5Y NetBSD 1.5Y (GENERIC_LAPTOP) #0: Sat Nov 10 15:12:55 UTC 2001     root@celeron:/usr/obj/local1/src/src/sys/arch/i386/compile/GENERIC_LAPTOP i386
>Description:
NetBSD 1.6 introduced the passwd.conf file for getting rid of
insecure DES passwords and using nice MD5 ones instead via a nice
simple configuration.  Unfortunately there is no example file
available and so people have no idea such an implementation exists,
unless they are cunning enough to find passwd.conf(5)
>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/basesrc/etc/Makefile,v
retrieving revision 1.195
diff -u -r1.195 Makefile
--- Makefile    2001/11/25 18:19:14     1.195
+++ Makefile    2001/11/26 16:49:53
@@ -89,8 +89,8 @@
        gettytab group hosts hosts.lpd inetd.conf lkm.conf \
        mailer.conf man.conf monthly monthly.conf mrouted.conf \
        netconfig networks newsyslog.conf nsswitch.conf ntp.conf \
-       phones printcap profile protocols rbootd.conf rc rc.conf \
-       rc.lkm rc.local rc.subr rc.shutdown remote rpc \
+       passwd.conf phones printcap profile protocols rbootd.conf rc \
+       rc.conf rc.lkm rc.local rc.subr rc.shutdown remote rpc \
        security security.conf services shells sysctl.conf syslog.conf \
        weekly weekly.conf wscons.conf \
        etc.${MACHINE}/ttys etc.${MACHINE}/disktab

--- /dev/null   Mon Nov 26 14:59:05 2001
+++ passwd.conf Mon Nov 26 16:46:08 2001
@@ -0,0 +1,10 @@
+#       $NetBSD$
+#
+# see passwd.conf(5) for more information.
+
+#default:
+#       localcipher = md5
+#       ypcipher = old
+
+#root:
+#       localcipher = md5
>Release-Note:
>Audit-Trail:
>Unformatted: