summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/schroot/files/schroot.pamfix.patch')
-rw-r--r--dev-util/schroot/files/schroot.pamfix.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/dev-util/schroot/files/schroot.pamfix.patch b/dev-util/schroot/files/schroot.pamfix.patch
deleted file mode 100644
index 2cc6d659e..000000000
--- a/dev-util/schroot/files/schroot.pamfix.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-removes the dependency on debian specific pam files. Updates the pam
-configuration to behave as it does on debian.
-
-contributed by Nick Fortino (nfortino@gmail.com) 1/15/2009
-
---- schroot-1.2.1/bin/schroot/pam/schroot.old
-+++ schroot-1.2.1/bin/schroot/pam/schroot
-@@ -23,12 +23,32 @@
- # time restrainst on schroot usage.
- # account requisite pam_time.so
-
--# The standard Unix authentication modules, used with
--# NIS (man nsswitch) as well as normal /etc/passwd and
--# /etc/shadow entries.
--@include common-auth
--@include common-account
--@include common-session
-+# here are the per-package modules (the "Primary" block)
-+auth [success=1 default=ignore] pam_unix.so nullok_secure
-+# here's the fallback if no module succeeds
-+auth requisite pam_deny.so
-+# prime the stack with a positive return value if there isn't one already;
-+# this avoids us returning an error just because nothing sets a success code
-+# since the modules above will each just jump around
-+auth required pam_permit.so
-+
-+# here are the per-package modules (the "Primary" block)
-+account [success=1 new_authtok_reqd=done default=ignore] pam_unix.so
-+# here's the fallback if no module succeeds
-+account requisite pam_deny.so
-+# prime the stack with a positive return value if there isn't one already;
-+# this avoids us returning an error just because nothing sets a success code
-+# since the modules above will each just jump around
-+account required pam_permit.so
-+
-+# here are the per-package modules (the "Primary" block)
-+session [default=1] pam_permit.so
-+# here's the fallback if no module succeeds
-+session requisite pam_deny.so
-+# prime the stack with a positive return value if there isn't one already;
-+# this avoids us returning an error just because nothing sets a success code
-+# since the modules above will each just jump around
-+session required pam_permit.so
-
- # Sets up user limits, please uncomment and read /etc/security/limits.conf
- # to enable this functionality.