summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-05-27 00:19:58 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-05-27 00:19:58 +0000
commit582e665991bf2f3879179f1e17af914830cb93dc (patch)
tree976e65dece27f3788f34d1d27c4db77a3955b452 /sys-apps/shadow/files
parentamd64 stable, bug #223711 (diff)
downloadhistorical-582e665991bf2f3879179f1e17af914830cb93dc.tar.gz
historical-582e665991bf2f3879179f1e17af914830cb93dc.tar.bz2
historical-582e665991bf2f3879179f1e17af914830cb93dc.zip
Fix bug #223631: upstream removed the note that the options don't apply to PAM, so now list the unusable entries explicitly.
Package-Manager: portage-2.1.5.2
Diffstat (limited to 'sys-apps/shadow/files')
-rw-r--r--sys-apps/shadow/files/login_defs_pam.sed24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-apps/shadow/files/login_defs_pam.sed b/sys-apps/shadow/files/login_defs_pam.sed
new file mode 100644
index 000000000000..ba308ba9abeb
--- /dev/null
+++ b/sys-apps/shadow/files/login_defs_pam.sed
@@ -0,0 +1,24 @@
+/^FAILLOG_ENAB/b comment
+/^LASTLOG_ENAB/b comment
+/^MAIL_CHECK_ENAB/b comment
+/^OBSCURE_CHECKS_ENAB/b comment
+/^PORTTIME_CHECKS_ENAB/b comment
+/^QUOTAS_ENAB/b comment
+/^MOTD_FILE/b comment
+/^FTMP_FILE/b comment
+/^NOLOGINS_FILE/b comment
+/^ENV_HZ/b comment
+/^PASS_MIN_LEN/b comment
+/^SU_WHEEL_ONLY/b comment
+/^CRACKLIB_DICTPATH/b comment
+/^PASS_CHANGE_TRIES/b comment
+/^PASS_ALWAYS_WARN/b comment
+/^CHFN_AUTH/b comment
+/^ENVIRON_FILE/b comment
+
+b exit
+
+: comment
+ s:^:#:
+
+: exit