hc
2023-02-14 9c26bd2fb3d1b04cfe748cd7a8d8883feff5250f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# default: off
# description:
# The rshd server is a server for the rcmd(3) routine and, 
# consequently, for the rsh(1) program. The server provides 
# remote execution facilities with authentication based on 
# privileged port numbers from trusted hosts.
#
service shell
{
   socket_type    = stream
   protocol    = tcp
   flags        = NAMEINARGS
   wait        = no
   user        = root
   group        = root
   log_on_success    += USERID
   log_on_failure    += USERID
   server        = /usr/sbin/tcpd
   server_args    = /usr/sbin/in.rshd -aL
   disable        = yes
}