##
#
# @(#)$Header: inetd.conf,v 16.5 90/07/19 16:37:12 jmc Exp $
#
# Inetd  reads its configuration information from this file upon execution
# and at some later time if it is reconfigured.
# The number of entries in this file must not exceed _NFILE - 10.  _NFILE
# is defined in <stdio.h>.
#
# A line in the configuration file has the following fields separated by
# tabs and/or spaces:
#
#       service name            as in /etc/services
#       socket type             either "stream" or "dgram"
#       protocol                as in /etc/protocols
#       wait/nowait             only applies to datagram sockets, stream
#                               sockets should specify nowait
#       user                    name of user as whom the server should run
#       server program          absolute pathname for the server inetd will 
#                               execute
#       server program args.    arguments server program uses as they normally
#                               are starting with argv[0] which is the name of
#                               the server.
#
# See the inetd.conf(4) manual page for more information.
##

##
#
#	ARPA/Berkeley services
#
##
ftp          stream tcp nowait root /etc/ftpd	  ftpd -l
telnet       stream tcp nowait root /etc/telnetd  telnetd 
tftp         dgram  udp wait   root /etc/tftpd    tftpd
#bootps       dgram  udp wait   root /etc/bootpd   bootpd
finger       stream tcp nowait bin /etc/fingerd  fingerd
login        stream tcp nowait root /etc/rlogind  rlogind
shell        stream tcp nowait root /etc/remshd   remshd
exec         stream tcp nowait root /etc/rexecd   rexecd

##
#
#	Other HP-UX network services
#
##
lanmgrx.osB  stream tcp nowait root /usr/lib/lm/lmsess.osB  lmsess.osB
#printer     stream tcp nowait root /usr/lib/rlpdaemon  rlpdaemon -i

##
#
#       inetd internal services
#
##
daytime      stream tcp nowait root internal
daytime      dgram  udp nowait root internal
time         stream tcp nowait root internal
time         dgram  udp nowait root internal
echo         stream tcp nowait root internal
echo         dgram  udp nowait root internal
discard      stream tcp nowait root internal
discard      dgram  udp nowait root internal
chargen      stream tcp nowait root internal
chargen      dgram  udp nowait root internal

##
#
#       rpc services, registered by inetd with portmap
#       Do not uncomment these unless your system is running portmap!
#
##
#rpc  stream tcp  nowait  root  /usr/etc/rpc.rexd     100017  1    rpc.rexd
#rpc  dgram  udp  wait    root  /usr/etc/rpc.rstatd   100001  1-3  rpc.rstatd
#rpc  dgram  udp  wait    root  /usr/etc/rpc.rusersd  100002  1-2  rpc.rusersd
#rpc  dgram  udp  wait    root  /usr/etc/rpc.mountd   100005  1    rpc.mountd
#rpc  dgram  udp  wait    root  /usr/etc/rpc.rwalld   100008  1    rpc.rwalld
#rpc  dgram  udp  wait    root  /usr/etc/rpc.rquotad  100011  1    rpc.rquotad
#rpc  dgram  udp  wait    root  /usr/etc/rpc.sprayd   100012  1    rpc.sprayd
spc     stream tcp  nowait  root  /usr/softbench/bin/softspcd  /usr/softbench/bin/softspcd

##
#
#	MIT Athena services
#
##
shell	stream	tcp	nowait	root	/etc/rshd	rshd
login	stream	tcp	nowait	root	/etc/rlogind	rlogind
kshell	stream	tcp	nowait	root	/usr/athena/etc/kshd	kshd
klogin	stream	tcp	nowait	root	/usr/athena/etc/klogind	klogind
eklogin	stream	tcp	nowait	root	/usr/athena/etc/klogind	eklogind
rkinit	stream	tcp	nowait	root	/usr/athena/etc/rkinitd rkinitd
write	stream	tcp	nowait	root	/usr/athena/etc/writed	writed
talk	dgram	udp	wait	root	/etc/talkd	talkd
ntalk	dgram	udp	wait	root	/usr/etc/ntalkd	ntalkd
time	stream	tcp	nowait	root	internal	internal
time	dgram	udp	nowait	root	internal	internal
daytime	stream	tcp	nowait	root	internal	internal
daytime	dgram	udp	nowait	root	internal	internal
#
# Remote access services that should normally be disabled.
# Digital's vs. Athena's version
#tftp	dgram	udp	wait	root	/usr/athena/etc/tftpd	tftpd
#tftp	dgram	udp	wait	root	/usr/etc/tftpd	tftpd
#exec	stream	tcp	nowait	root	/etc/rexecd	rexecd
#
# Obsolete services that are not in the Athena release.
#comsat	dgram	udp	wait	root	/etc/comsat	comsat
recserv stream tcp nowait bin /usr/lib/X11/SharedX/recserv recserv -display :0
