summaryrefslogtreecommitdiff
path: root/repo/schroot/pam.d.schroot.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-05-17 17:02:25 +0000
committerdavidovski <david@davidovski.xyz>2023-05-17 17:03:10 +0000
commita5ee6fa1836ed3986be333d6c9b4eed8d639636b (patch)
treeea481e4c98374c67be4188e99c297c36402ad346 /repo/schroot/pam.d.schroot.patch
parent0d37a1ef234c38b27faba43bc3a22f985d311deb (diff)
Add schroot
Diffstat (limited to 'repo/schroot/pam.d.schroot.patch')
-rw-r--r--repo/schroot/pam.d.schroot.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/schroot/pam.d.schroot.patch b/repo/schroot/pam.d.schroot.patch
new file mode 100644
index 0000000..ec63323
--- /dev/null
+++ b/repo/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
+