passwd

Grzegorz Błach grzela at seculture.com
Fri Mar 23 07:26:01 PDT 2007


This is a fixed version my previous patch.
I split it to 3 patches:
passwdqc.diff.gz - password checking pam module.
passwd.diff.gz - passwd utility that works throuth pam, not directly on
master.passwd file (this support local passwd file and the NIS one).
etc.diff - /etc/pam.d/passwd file, on default this tell to passwd to
simply change password, but when passwdqc line is unhashed, this tell
that first check passwd if is enougth strong.

this version support NOFSCHG flag in make.conf file.

Is anyone who interesed this patch and want see it in DFly?

Attachment:
passwdqc.diff.gz
Description: GNU Zip compressed data
Attachment:
passwd.diff.gz
Description: GNU Zip compressed data
diff -uNr src/etc/pam.d/passwd src+/etc/pam.d/passwd
--- src/etc/pam.d/passwd	1970-01-01 01:00:00.000000000 +0100
+++ src+/etc/pam.d/passwd	2007-03-17 23:35:58.000000000 +0100
@@ -0,0 +1,12 @@
+#
+# $FreeBSD: src/etc/pam.d/passwd,v 1.3 2003/04/24 12:22:42 des Exp $
+#
+# PAM configuration for the "passwd" service
+#
+
+# passwd(1) does not use the auth, account or session services.
+
+# password
+#password	requisite	pam_passwdqc.so		enforce=users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gz00001.gz
Type: application/octet-stream
Size: 8847 bytes
Desc: "+"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20070323/05778069/attachment-0036.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gz00000.gz
Type: application/octet-stream
Size: 28546 bytes
Desc: "+password	required	pam_unix.so		no_warn try_first_pass nullok"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20070323/05778069/attachment-0037.obj>


More information about the Submit mailing list