summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/pam/files/0.75-r4/pam.d/rexec')
-rw-r--r--sys-libs/pam/files/0.75-r4/pam.d/rexec9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys-libs/pam/files/0.75-r4/pam.d/rexec b/sys-libs/pam/files/0.75-r4/pam.d/rexec
new file mode 100644
index 000000000000..7fb1cc770069
--- /dev/null
+++ b/sys-libs/pam/files/0.75-r4/pam.d/rexec
@@ -0,0 +1,9 @@
+#%PAM-1.0
+# For root login to succeed here with pam_securetty, "rexec" must be
+# listed in /etc/securetty.
+auth required /lib/security/pam_nologin.so
+auth required /lib/security/pam_securetty.so
+auth required /lib/security/pam_env.so
+auth required /lib/security/pam_stack.so service=system-auth
+account required /lib/security/pam_stack.so service=system-auth
+session required /lib/security/pam_stack.so service=system-auth