# See "man 8 inetd" for more information.
#
# If you make changes to this file, either reboot your machine or send the
# inetd a HUP signal:
# Do a "ps x" as root and look up the pid of inetd. Then do a
# "kill -HUP <pid of inetd>".
# The inetd will re-read this file whenever it gets that signal.
#
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
echo	stream	tcp	nowait	root	internal
echo	dgram	udp	wait	root	internal
discard	stream	tcp	nowait	root	internal
discard	dgram	udp	wait	root	internal
daytime	stream	tcp	nowait	root	internal
daytime	dgram	udp	wait	root	internal
chargen	stream	tcp	nowait	root	internal
chargen	dgram	udp	wait	root	internal
time	stream	tcp	nowait	root	internal
time	dgram	udp	wait	root	internal
#
# These are standard services.
#
ftp	stream	tcp	nowait	root	/usr/sbin/in.ftpd	in.ftpd -l
telnet	stream  tcp     nowait  root    /usr/sbin/tcpd	in.telnetd
#nntp	stream	tcp	nowait	root	tcpd	in.nntpd
#
# Shell, login, exec and talk are BSD protocols.
#
shell	stream	tcp	nowait	root	/usr/sbin/tcpd	/usr/sbin/in.rshd
login	stream	tcp	nowait	root	/usr/sbin/tcpd	in.rlogind
exec	stream	tcp	nowait	root	/usr/sbin/tcpd	in.rexecd
talk	dgram	udp	wait	root	/usr/sbin/tcpd	/usr/sbin/in.talkd
ntalk	dgram	udp	wait	root	/usr/sbin/tcpd	/usr/sbin/in.talkd
#
# Kerberos authenticated services
#
klogin	stream	tcp	nowait	root	rlogind	rlogind -k
eklogin	stream	tcp	nowait	root	rlogind	rlogind -k -x
kshell	stream	tcp	nowait	root	rshd	rshd -k
#
# Services run ONLY on the Kerberos server
#
#krbupdate	stream	tcp	nowait	root	registerd	registerd
#kpasswd	stream	tcp	nowait	root	kpasswdd	kpasswdd
#
# Pop et al
#
pop-2	stream	tcp	nowait	root	/usr/sbin/tcpd	in.popd
pop-3	stream	tcp	nowait	root	/usr/sbin/tcpd	in.popd
#
# Comsat - has to do with mail.
#
comsat	dgram	udp	wait	root	comsat	comsat
#
# The Internet UUCP service.
#
#uucp	stream	tcp	nowait	uucp	/usr/sbin/tcpd	/usr/lib/uucp/uucico	-l
#
# Tftp service is provided primarily for booting.  Most sites
# run this only on machines acting as "boot servers." 
#
#tftp	dgram	udp	wait	nobody	/usr/sbin/tcpd	in.tftpd
#bootps	dgram	udp	wait	root	/usr/sbin/tcpd	in.bootpd
#
# Finger, systat and netstat give out user information which may be
# valuable to potential "system crackers."  Many sites choose to disable 
# some or all of these services to improve security.
#
finger	stream	tcp	nowait	nobody	/usr/sbin/tcpd	/usr/sbin/in.fingerd
systat	stream	tcp	nowait	nobody	/usr/sbin/tcpd	/usr/bin/ps	-auwwx
netstat	stream	tcp	nowait	nobody	/usr/sbin/tcpd	/bin/netstat	-f inet
#
# Time service is used for clock syncronization.
#
#time	stream	tcp	nowait	root	/usr/sbin/tcpd	in.timed
#time	dgram	udp	wait	root	/usr/sbin/tcpd	in.timed
#
# Sun-RPC based services.
# <service name/version><sock_type><rpc/prot><flags><user><server><args>
#
rstatd/1-3	dgram	rpc/udp	wait	root	rpc.rstatd	rpc.rstatd
rusersd/2-3	dgram	rpc/udp	wait	root	rpc.rusersd	rpc.rusersd
walld/1		dgram	rpc/udp	wait	root	rpc.rwalld	rpc.rwalld
# End.
