summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-04-15 03:01:32 +0000
committerdes <des@FreeBSD.org>2002-04-15 03:01:32 +0000
commitb9658dfaf29d64bd1583a34d3ddebddb425b2bce (patch)
tree13a37aed5aad3437a90fe3ce3c469e19e5930d87
parent887c2ed0092dca487349932b1a5f69ce9e435f59 (diff)
downloadFreeBSD-src-b9658dfaf29d64bd1583a34d3ddebddb425b2bce.zip
FreeBSD-src-b9658dfaf29d64bd1583a34d3ddebddb425b2bce.tar.gz
Add PAM policy for the "passwd" service, including a sample config line
for pam_passwdqc. Sponsored by: DARPA, NAI Labs
-rw-r--r--etc/pam.d/Makefile1
-rw-r--r--etc/pam.d/passwd11
2 files changed, 12 insertions, 0 deletions
diff --git a/etc/pam.d/Makefile b/etc/pam.d/Makefile
index 827cfbb..310aecd 100644
--- a/etc/pam.d/Makefile
+++ b/etc/pam.d/Makefile
@@ -10,6 +10,7 @@ PAMD += imap
PAMD += kde
PAMD += login
PAMD += other
+PAMD += passwd
PAMD += pop3
PAMD += rsh
PAMD += sshd
diff --git a/etc/pam.d/passwd b/etc/pam.d/passwd
new file mode 100644
index 0000000..d732c42
--- /dev/null
+++ b/etc/pam.d/passwd
@@ -0,0 +1,11 @@
+#
+# $FreeBSD$
+#
+# 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
OpenPOWER on IntegriCloud