diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/netkit-rsh/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/netkit-rsh/files')
-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 +} |