aboutsummaryrefslogtreecommitdiffstats
path: root/testing/schroot/pam.d.schroot.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/schroot/pam.d.schroot.patch')
-rw-r--r--testing/schroot/pam.d.schroot.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/schroot/pam.d.schroot.patch b/testing/schroot/pam.d.schroot.patch
new file mode 100644
index 0000000000..ec63323b0b
--- /dev/null
+++ b/testing/schroot/pam.d.schroot.patch
@@ -0,0 +1,20 @@
+--- a/etc/pam/schroot
++++ b/etc/pam/schroot
+@@ -23,13 +23,9 @@
+ # 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
+-
++account required pam_unix.so
++session required pam_unix.so
++
+ # Sets up user limits, please uncomment and read /etc/security/limits.conf
+ # to enable this functionality.
+ # session required pam_limits.so
+