DragonFly submit List (threaded) for 2007-03
DragonFly BSD
DragonFly submit List (threaded) for 2007-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

passwd


From: Grzegorz Błach <grzela@xxxxxxxxxxxxx>
Date: Fri, 23 Mar 2007 15:24:48 +0100

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
+password	required	pam_unix.so		no_warn try_first_pass nullok
+


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