Gentoo Archives: gentoo-commits

From: John Helmert III <ajak@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/netkit-rsh/files/
Date: Sun, 17 Oct 2021 20:43:20
Message-Id: 1634503331.67a40d254419d272f4e0fd76ea567b35f8e65c57.ajak@gentoo
1 commit: 67a40d254419d272f4e0fd76ea567b35f8e65c57
2 Author: John Helmert III <ajak <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 17 20:42:11 2021 +0000
4 Commit: John Helmert III <ajak <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 17 20:42:11 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67a40d25
7
8 net-misc/netkit-rsh/files: restore misc filesdir files
9
10 Accidentally semiautomatedly removed these files, while they're still
11 in use.
12
13 Signed-off-by: John Helmert III <ajak <AT> gentoo.org>
14
15 net-misc/netkit-rsh/files/rexec.pamd-pambase | 6 ++++++
16 net-misc/netkit-rsh/files/rexec.xinetd | 12 ++++++++++++
17 net-misc/netkit-rsh/files/rlogin.pamd-pambase | 9 +++++++++
18 net-misc/netkit-rsh/files/rlogin.xinetd | 12 ++++++++++++
19 net-misc/netkit-rsh/files/rsh.pamd-pambase | 11 +++++++++++
20 net-misc/netkit-rsh/files/rsh.xinetd | 12 ++++++++++++
21 6 files changed, 62 insertions(+)
22
23 diff --git a/net-misc/netkit-rsh/files/rexec.pamd-pambase b/net-misc/netkit-rsh/files/rexec.pamd-pambase
24 new file mode 100644
25 index 00000000000..8657883e32a
26 --- /dev/null
27 +++ b/net-misc/netkit-rsh/files/rexec.pamd-pambase
28 @@ -0,0 +1,6 @@
29 +# For root login to succeed here with pam_securetty, "rexec" must be
30 +# listed in /etc/securetty.
31 +auth required pam_securetty.so
32 +auth include system-remote-login
33 +account include system-remote-login
34 +session include system-remote-login
35
36 diff --git a/net-misc/netkit-rsh/files/rexec.xinetd b/net-misc/netkit-rsh/files/rexec.xinetd
37 new file mode 100644
38 index 00000000000..fea3710ec66
39 --- /dev/null
40 +++ b/net-misc/netkit-rsh/files/rexec.xinetd
41 @@ -0,0 +1,12 @@
42 +service exec
43 +{
44 + socket_type = stream
45 + protocol = tcp
46 + wait = no
47 + user = root
48 + group = tty
49 + server = /usr/sbin/in.rexecd
50 + log_on_success = PID HOST USERID EXIT DURATION
51 + log_on_failure = USERID ATTEMPT
52 + disable = yes
53 +}
54
55 diff --git a/net-misc/netkit-rsh/files/rlogin.pamd-pambase b/net-misc/netkit-rsh/files/rlogin.pamd-pambase
56 new file mode 100644
57 index 00000000000..9b4481edd6f
58 --- /dev/null
59 +++ b/net-misc/netkit-rsh/files/rlogin.pamd-pambase
60 @@ -0,0 +1,9 @@
61 +#%PAM-1.0
62 +# For root login to succeed here with pam_securetty, "rlogin" must be
63 +# listed in /etc/securetty.
64 +auth required pam_securetty.so
65 +auth sufficient pam_rhosts.so
66 +auth include system-remote-login
67 +account include system-remote-login
68 +password include system-remote-login
69 +session include system-remote-login
70
71 diff --git a/net-misc/netkit-rsh/files/rlogin.xinetd b/net-misc/netkit-rsh/files/rlogin.xinetd
72 new file mode 100644
73 index 00000000000..76a99beba8d
74 --- /dev/null
75 +++ b/net-misc/netkit-rsh/files/rlogin.xinetd
76 @@ -0,0 +1,12 @@
77 +service login
78 +{
79 + socket_type = stream
80 + protocol = tcp
81 + wait = no
82 + user = root
83 + group = tty
84 + server = /usr/sbin/in.rlogind
85 + log_on_success = PID HOST USERID EXIT DURATION
86 + log_on_failure = USERID ATTEMPT
87 + disable = yes
88 +}
89
90 diff --git a/net-misc/netkit-rsh/files/rsh.pamd-pambase b/net-misc/netkit-rsh/files/rsh.pamd-pambase
91 new file mode 100644
92 index 00000000000..460a2cd99f9
93 --- /dev/null
94 +++ b/net-misc/netkit-rsh/files/rsh.pamd-pambase
95 @@ -0,0 +1,11 @@
96 +#%PAM-1.0
97 +# For root login to succeed here with pam_securetty, "rsh" must be
98 +# listed in /etc/securetty.
99 +auth required pam_securetty.so
100 +
101 +# Uncomment this and comment the following to use rhosts_auth module
102 +#auth required pam_rhosts.so
103 +auth include system-remote-login
104 +
105 +account include system-remote-login
106 +session include system-remote-login
107
108 diff --git a/net-misc/netkit-rsh/files/rsh.xinetd b/net-misc/netkit-rsh/files/rsh.xinetd
109 new file mode 100644
110 index 00000000000..3d1fa652794
111 --- /dev/null
112 +++ b/net-misc/netkit-rsh/files/rsh.xinetd
113 @@ -0,0 +1,12 @@
114 +service shell
115 +{
116 + socket_type = stream
117 + protocol = tcp
118 + wait = no
119 + user = root
120 + group = tty
121 + server = /usr/sbin/in.rshd
122 + log_on_success = PID HOST USERID EXIT DURATION
123 + log_on_failure = USERID ATTEMPT
124 + disable = yes
125 +}