diff options
author | John Helmert III <ajak@gentoo.org> | 2021-10-17 15:42:11 -0500 |
---|---|---|
committer | John Helmert III <ajak@gentoo.org> | 2021-10-17 15:42:11 -0500 |
commit | 67a40d254419d272f4e0fd76ea567b35f8e65c57 (patch) | |
tree | 756a5f6cd15d791322e46c37953cf5401619aa18 /net-misc/netkit-rsh | |
parent | net-misc/netkit-rsh: drop 0.17-r13 (diff) | |
download | gentoo-67a40d254419d272f4e0fd76ea567b35f8e65c57.tar.gz gentoo-67a40d254419d272f4e0fd76ea567b35f8e65c57.tar.bz2 gentoo-67a40d254419d272f4e0fd76ea567b35f8e65c57.zip |
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@gentoo.org>
Diffstat (limited to 'net-misc/netkit-rsh')
-rw-r--r-- | net-misc/netkit-rsh/files/rexec.pamd-pambase | 6 | ||||
-rw-r--r-- | net-misc/netkit-rsh/files/rexec.xinetd | 12 | ||||
-rw-r--r-- | net-misc/netkit-rsh/files/rlogin.pamd-pambase | 9 | ||||
-rw-r--r-- | net-misc/netkit-rsh/files/rlogin.xinetd | 12 | ||||
-rw-r--r-- | net-misc/netkit-rsh/files/rsh.pamd-pambase | 11 | ||||
-rw-r--r-- | net-misc/netkit-rsh/files/rsh.xinetd | 12 |
6 files changed, 62 insertions, 0 deletions
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 000000000000..8657883e32aa --- /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 000000000000..fea3710ec664 --- /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 000000000000..9b4481edd6f8 --- /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 000000000000..76a99beba8d1 --- /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 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 diff --git a/net-misc/netkit-rsh/files/rsh.xinetd b/net-misc/netkit-rsh/files/rsh.xinetd new file mode 100644 index 000000000000..3d1fa6527943 --- /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 +} |