inetd.conf revision 41444
1272343Sngie#	$Id: inetd.conf,v 1.32 1998/12/01 21:19:49 dillon Exp $
2272343Sngie#
3272343Sngie# Internet server configuration database
4272343Sngie#
5272343Sngie#	@(#)inetd.conf	5.4 (Berkeley) 6/30/90
6272343Sngie#
7272343Sngieftp	stream	tcp	nowait	root	/usr/libexec/ftpd	ftpd -l
8272343Sngietelnet	stream	tcp	nowait	root	/usr/libexec/telnetd	telnetd
9272343Sngieshell	stream	tcp	nowait	root	/usr/libexec/rshd	rshd
10272343Sngielogin	stream	tcp	nowait	root	/usr/libexec/rlogind	rlogind
11272343Sngiefinger	stream	tcp	nowait/3/10 nobody /usr/libexec/fingerd	fingerd -s
12272343Sngie#exec	stream	tcp	nowait	root	/usr/libexec/rexecd	rexecd
13272343Sngie#uucpd	stream	tcp	nowait	root	/usr/libexec/uucpd	uucpd
14272343Sngie#nntp	stream	tcp	nowait	usenet	/usr/libexec/nntpd	nntpd
15272343Sngie# run comsat as root to be able to print partial mailbox contents w/ biff,
16272343Sngie# or use the safer tty:tty to just print that new mail has been received.
17272343Sngiecomsat	dgram	udp	wait	tty:tty	/usr/libexec/comsat	comsat
18272343Sngientalk	dgram	udp	wait	tty:tty	/usr/libexec/ntalkd	ntalkd
19272343Sngie#tftp	dgram	udp	wait	nobody	/usr/libexec/tftpd	tftpd /tftpboot
20272343Sngie#bootps	dgram	udp	wait	root	/usr/libexec/bootpd	bootpd
21272343Sngie#
22272343Sngie# "Small servers" -- used to be standard on, but we're more conservative
23272343Sngie# about things due to Internet security concerns.  Only turn on what you
24272343Sngie# need.
25272343Sngie#
26272343Sngie#daytime stream	tcp	nowait	root	internal
27272343Sngie#daytime dgram	udp	wait	root	internal
28272343Sngie#time	stream	tcp	nowait	root	internal
29272343Sngie#time	 dgram	udp	wait	root	internal
30272343Sngie#echo	stream	tcp	nowait	root	internal
31272343Sngie#echo	dgram	udp	wait	root	internal
32272343Sngie#discard stream	tcp	nowait	root	internal
33272343Sngie#discard dgram	udp	wait	root	internal
34272343Sngie#chargen stream	tcp	nowait	root	internal
35272343Sngie#chargen dgram	udp	wait	root	internal
36272343Sngie#
37272343Sngie# Kerberos authenticated services
38272343Sngie#
39272343Sngie#klogin	stream	tcp	nowait	root	/usr/libexec/rlogind	rlogind -k
40272343Sngie#eklogin stream	tcp	nowait	root	/usr/libexec/rlogind	rlogind -k -x
41272343Sngie#kshell	stream	tcp	nowait	root	/usr/libexec/rshd	rshd -k
42272343Sngie#kip	stream	tcp	nowait	root	/usr/libexec/kipd	kipd
43272343Sngie#
44272343Sngie# CVS servers - for master CVS repositories only!
45272343Sngie#
46272343Sngie#cvspserver	stream	tcp	nowait	root	/usr/bin/cvs	cvs pserver
47272343Sngie#cvs		stream	tcp	nowait	root	/usr/bin/cvs	cvs kserver
48272343Sngie#
49272343Sngie# RPC based services (you MUST have portmapper running to use these)
50272343Sngie#
51272343Sngie#rstatd/1-3	dgram rpc/udp wait root	/usr/libexec/rpc.rstatd	 rpc.rstatd
52272343Sngie#rusersd/1-2	dgram rpc/udp wait root	/usr/libexec/rpc.rusersd rpc.rusersd
53272343Sngie#walld/1	dgram rpc/udp wait root	/usr/libexec/rpc.rwalld	 rpc.rwalld
54272343Sngie#pcnfsd/1-2	dgram rpc/udp wait root	/usr/libexec/rpc.pcnfsd	 rpc.pcnfsd	
55272343Sngie#rquotad/1	dgram rpc/udp wait root	/usr/libexec/rpc.rquotad rpc.rquotad
56272343Sngie#sprayd/1	dgram rpc/udp wait root	/usr/libexec/rpc.sprayd	 rpc.sprayd
57272343Sngie#
58272343Sngie# example entry for the optional pop3 server
59272343Sngie#
60272343Sngie#pop3	stream	tcp	nowait	root	/usr/local/libexec/popper	popper
61272343Sngie#
62272343Sngie# example entry for the optional imap4 server
63272343Sngie#
64272343Sngie#imap4	stream	tcp	nowait	root	/usr/local/libexec/imapd	imapd
65272343Sngie#
66272343Sngie# Return error for all "ident" requests
67272343Sngie#
68272343Sngie#ident	stream	tcp	nowait	root	internal
69272343Sngie#
70272343Sngie# example entry for the optional ident server
71272343Sngie#
72272343Sngie#ident	stream	tcp	wait	kmem:kmem	/usr/local/sbin/identd	identd -w -t120
73272343Sngie#
74272343Sngie# example entry for the optional qmail MTA
75272343Sngie#
76272343Sngie#smtp	stream	tcp	nowait	qmaild	/var/qmail/bin/tcp-env	tcp-env /var/qmail/bin/qmail-smtpd
77272343Sngie#
78272343Sngie# Enable the following two entries to enable samba startup from inetd
79272343Sngie# (from the Samba documentation).
80272343Sngie#
81272343Sngie#netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd 
82272343Sngie#netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd 
83272343Sngie