summaryrefslogtreecommitdiff
path: root/ssh-keycat.pam
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-10-02 04:02:17 +0000
committerCoprDistGit <infra@openeuler.org>2023-10-02 04:02:17 +0000
commit24b6ed9bc1ef1538b8f3e254b30b1006f5e4d78f (patch)
treee2725d205951345a1c853965086be06d6a6cbf59 /ssh-keycat.pam
parentc7ba49a1e66ed27d507eafa4da2b81838a2afa64 (diff)
automatic import of openssh
Diffstat (limited to 'ssh-keycat.pam')
-rw-r--r--ssh-keycat.pam8
1 files changed, 8 insertions, 0 deletions
diff --git a/ssh-keycat.pam b/ssh-keycat.pam
new file mode 100644
index 0000000..d7a3f67
--- /dev/null
+++ b/ssh-keycat.pam
@@ -0,0 +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
+# pam_selinux.so open should only be followed by sessions to be executed in the user context
+session required pam_selinux.so open env_params
+session required pam_namespace.so
+