#
# Copyright 1989-2002 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
#ident	"@(#)inetd.conf	1.51	02/11/19 SMI"
#
# Configuration file for inetd(1M).  See inetd.conf(4).
#
# To re-configure the running inetd process, edit this file, then
# send the inetd process a SIGHUP.
#
# Syntax for socket-based Internet services:
#  <service_name> <socket_type> <proto> <flags> <user> <server_pathname> <args>
#
# Syntax for TLI-based Internet services:
#
#  <service_name> tli <proto> <flags> <user> <server_pathname> <args>
#
# IPv6 and inetd.conf
# By specifying a <proto> value of tcp6 or udp6 for a service, inetd will
# pass the given daemon an AF_INET6 socket.  The following daemons have
# been modified to be able to accept AF_INET6 sockets
#
#	ftp telnet shell login exec tftp finger printer
#
# and service connection requests coming from either IPv4 or IPv6-based
# transports.  Such modified services do not normally require separate
# configuration lines for tcp or udp.  For documentation on how to do this
# for other services, see the Solaris System Administration Guide.
#
# You must verify that a service supports IPv6 before specifying <proto> as
# tcp6 or udp6.  Also, all inetd built-in commands (time, echo, discard,
# daytime, chargen) require the specification of <proto> as tcp6 or udp6
#
# The remote shell server (shell) and the remote execution server
# (exec) must have an entry for both the "tcp" and "tcp6" <proto> values.
#
# 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.
#
#systat	stream	tcp	nowait	root	/usr/bin/ps		ps -ef
#netstat	stream	tcp	nowait	root	/usr/bin/netstat 	netstat -f inet
#
# Time service is used for clock synchronization.
#
time	stream	tcp6	nowait	root	internal
time	dgram	udp6	wait	root	internal
# 
# Echo, discard, daytime, and chargen are used primarily for testing.
#
echo	stream	tcp6	nowait	root	internal
echo	dgram	udp6	wait	root	internal
discard	stream	tcp6	nowait	root	internal
discard	dgram	udp6	wait	root	internal
daytime	stream	tcp6	nowait	root	internal
daytime	dgram	udp6	wait	root	internal
chargen	stream	tcp6	nowait	root	internal
chargen	dgram	udp6	wait	root	internal
#
#
# RPC services syntax:
#  <rpc_prog>/<vers> <endpoint-type> rpc/<proto> <flags> <user> \
#  <pathname> <args>
#
# <endpoint-type> can be either "tli" or "stream" or "dgram".
# For "stream" and "dgram" assume that the endpoint is a socket descriptor.
# <proto> can be either a nettype or a netid or a "*". The value is
# first treated as a nettype. If it is not a valid nettype then it is
# treated as a netid. The "*" is a short-hand way of saying all the
# transports supported by this system, ie. it equates to the "visible"
# nettype. The syntax for <proto> is:
#	*|<nettype|netid>|<nettype|netid>{[,<nettype|netid>]}
# For example: 
# dummy/1	tli	rpc/circuit_v,udp	wait	root	/tmp/test_svc	test_svc
#
# Solstice system and network administration class agent server
100232/10	tli	rpc/udp	wait root /usr/sbin/sadmind	sadmind
#
# rpc.cmsd is a data base daemon which manages calendar data backed
# by files in /var/spool/calendar
#
100068/2-5	dgram	rpc/udp	wait root /usr/openwin/bin/rpc.cmsd	rpc.cmsd
#
# Sun ToolTalk Database Server
#
100083/1	tli	rpc/tcp wait root /usr/dt/bin/rpc.ttdbserverd rpc.ttdbserverd
#
# Sun KCMS Profile Server
#
100221/1	tli	rpc/tcp	wait root /usr/openwin/bin/kcms_server	kcms_server
#
# Sun Font Server
#
fs		stream	tcp6	wait nobody /usr/openwin/lib/fs.auto	fs
#
# CacheFS Daemon
#
100235/1 tli rpc/ticotsord wait root /usr/lib/fs/cachefs/cachefsd cachefsd
