hc
2023-05-31 43fd8d44e8182b691c8ee61d487cec02ca11afd2
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
}