summaryrefslogtreecommitdiff
path: root/repo/schroot/pam.d.schroot.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-05-18 15:48:01 +0100
committerdavidovski <david@davidovski.xyz>2023-05-18 15:48:01 +0100
commite0a428e6c9067b90ce3078c2d50bc75c94047d7f (patch)
tree3cf0d6dfacb972e826dd772a0c53c899a18f9b30 /repo/schroot/pam.d.schroot.patch
parentb9fc4f41e38eaa6d27652d418b983d40d13ef82c (diff)
parenta5ee6fa1836ed3986be333d6c9b4eed8d639636b (diff)
Merge branch 'master' of git.cheetah.remote:xilinux/buildfilesHEADmaster
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
+