* [gentoo-commits] repo/gentoo:master commit in: net-misc/netkit-rsh/files/
@ 2021-10-17 20:43 John Helmert III
0 siblings, 0 replies; only message in thread
From: John Helmert III @ 2021-10-17 20:43 UTC (permalink / raw
To: gentoo-commits
commit: 67a40d254419d272f4e0fd76ea567b35f8e65c57
Author: John Helmert III <ajak <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 17 20:42:11 2021 +0000
Commit: John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Sun Oct 17 20:42:11 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67a40d25
net-misc/netkit-rsh/files: restore misc filesdir files
Accidentally semiautomatedly removed these files, while they're still
in use.
Signed-off-by: John Helmert III <ajak <AT> gentoo.org>
net-misc/netkit-rsh/files/rexec.pamd-pambase | 6 ++++++
net-misc/netkit-rsh/files/rexec.xinetd | 12 ++++++++++++
net-misc/netkit-rsh/files/rlogin.pamd-pambase | 9 +++++++++
net-misc/netkit-rsh/files/rlogin.xinetd | 12 ++++++++++++
net-misc/netkit-rsh/files/rsh.pamd-pambase | 11 +++++++++++
net-misc/netkit-rsh/files/rsh.xinetd | 12 ++++++++++++
6 files changed, 62 insertions(+)
diff --git a/net-misc/netkit-rsh/files/rexec.pamd-pambase b/net-misc/netkit-rsh/files/rexec.pamd-pambase
new file mode 100644
index 00000000000..8657883e32a
--- /dev/null
+++ b/net-misc/netkit-rsh/files/rexec.pamd-pambase
@@ -0,0 +1,6 @@
+# For root login to succeed here with pam_securetty, "rexec" must be
+# listed in /etc/securetty.
+auth required pam_securetty.so
+auth include system-remote-login
+account include system-remote-login
+session include system-remote-login
diff --git a/net-misc/netkit-rsh/files/rexec.xinetd b/net-misc/netkit-rsh/files/rexec.xinetd
new file mode 100644
index 00000000000..fea3710ec66
--- /dev/null
+++ b/net-misc/netkit-rsh/files/rexec.xinetd
@@ -0,0 +1,12 @@
+service exec
+{
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = root
+ group = tty
+ server = /usr/sbin/in.rexecd
+ log_on_success = PID HOST USERID EXIT DURATION
+ log_on_failure = USERID ATTEMPT
+ disable = yes
+}
diff --git a/net-misc/netkit-rsh/files/rlogin.pamd-pambase b/net-misc/netkit-rsh/files/rlogin.pamd-pambase
new file mode 100644
index 00000000000..9b4481edd6f
--- /dev/null
+++ b/net-misc/netkit-rsh/files/rlogin.pamd-pambase
@@ -0,0 +1,9 @@
+#%PAM-1.0
+# For root login to succeed here with pam_securetty, "rlogin" must be
+# listed in /etc/securetty.
+auth required pam_securetty.so
+auth sufficient pam_rhosts.so
+auth include system-remote-login
+account include system-remote-login
+password include system-remote-login
+session include system-remote-login
diff --git a/net-misc/netkit-rsh/files/rlogin.xinetd b/net-misc/netkit-rsh/files/rlogin.xinetd
new file mode 100644
index 00000000000..76a99beba8d
--- /dev/null
+++ b/net-misc/netkit-rsh/files/rlogin.xinetd
@@ -0,0 +1,12 @@
+service login
+{
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = root
+ group = tty
+ server = /usr/sbin/in.rlogind
+ log_on_success = PID HOST USERID EXIT DURATION
+ log_on_failure = USERID ATTEMPT
+ disable = yes
+}
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 00000000000..460a2cd99f9
--- /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
diff --git a/net-misc/netkit-rsh/files/rsh.xinetd b/net-misc/netkit-rsh/files/rsh.xinetd
new file mode 100644
index 00000000000..3d1fa652794
--- /dev/null
+++ b/net-misc/netkit-rsh/files/rsh.xinetd
@@ -0,0 +1,12 @@
+service shell
+{
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = root
+ group = tty
+ server = /usr/sbin/in.rshd
+ log_on_success = PID HOST USERID EXIT DURATION
+ log_on_failure = USERID ATTEMPT
+ disable = yes
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-17 20:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-17 20:43 [gentoo-commits] repo/gentoo:master commit in: net-misc/netkit-rsh/files/ John Helmert III
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox