summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/netkit-rsh/files/rsh.pamd-pambase')
-rw-r--r--net-misc/netkit-rsh/files/rsh.pamd-pambase11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-misc/netkit-rsh/files/rsh.pamd-pambase b/net-misc/netkit-rsh/files/rsh.pamd-pambase
new file mode 100644
index 000000000000..460a2cd99f99
--- /dev/null
+++ b/net-misc/netkit-rsh/files/rsh.pamd-pambase
@@ -0,0 +1,11 @@
+#%PAM-1.0
+# For root login to succeed here with pam_securetty, "rsh" must be
+# listed in /etc/securetty.
+auth required pam_securetty.so
+
+# Uncomment this and comment the following to use rhosts_auth module
+#auth required pam_rhosts.so
+auth include system-remote-login
+
+account include system-remote-login
+session include system-remote-login