summaryrefslogtreecommitdiff
path: root/extra/source/tigervnc/patches/tigervnc.pam.d.diff
diff options
context:
space:
mode:
Diffstat (limited to 'extra/source/tigervnc/patches/tigervnc.pam.d.diff')
-rw-r--r--extra/source/tigervnc/patches/tigervnc.pam.d.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/source/tigervnc/patches/tigervnc.pam.d.diff b/extra/source/tigervnc/patches/tigervnc.pam.d.diff
new file mode 100644
index 00000000..775820b0
--- /dev/null
+++ b/extra/source/tigervnc/patches/tigervnc.pam.d.diff
@@ -0,0 +1,15 @@
+--- ./unix/vncserver/tigervnc.pam.orig 2021-11-09 01:51:28.000000000 -0600
++++ ./unix/vncserver/tigervnc.pam 2021-11-15 14:58:09.273033740 -0600
+@@ -1,11 +1,8 @@
+ #%PAM-1.0
+-# pam_selinux.so close should be the first session rule
+--session required pam_selinux.so close
+ session required pam_loginuid.so
+ -session required pam_selinux.so open
+ session required pam_namespace.so
+ session optional pam_keyinit.so force revoke
+ session required pam_limits.so
+--session optional pam_systemd.so
++session optional pam_elogind.so
+ session required pam_unix.so
+--session optional pam_reauthorize.so prepare