/etc/inetd is sensitive to ordering of lines in /etc/inetd.conf

nesheim at think.com nesheim at think.com
Fri Mar 31 04:23:02 AEST 1989


arnold at emoryu2.cc.emory.edu (Arnold D. Robbins):
> ... 
> Inetd is sensitive to the order of entries in /etc/inetd.conf. In
> particualar, putting a non-rpc or non-internal type of entry in the file
> after the rpc or internal entries does not work. If the new entry is after
> the rpc entries, the portmapper and NFS fail.  If it is after the internal
> entries, then the new entry does not work....

I'd suspect a different problem.  My inetd.conf follows, and it includes
three entries after the internal and RPC entries, which all work just
fine..  Look for a missing argument to one of the RPC or internal entries
preceeding your local entries.

# @(#)inetd.conf 1.17 88/02/07 SMI
ftp	stream	tcp	nowait	root	/usr/etc/in.ftpd	in.ftpd
#telnet	stream	tcp	nowait	root	/usr/etc/in.telnetd	in.telnetd
shell	stream	tcp	nowait	root	/usr/etc/in.rshd	in.rshd
login	stream	tcp	nowait	root	/usr/etc/in.rlogind	in.rlogind
exec	stream	tcp	nowait	root	/usr/etc/in.rexecd	in.rexecd
#finger	stream  tcp	nowait  root    /usr/etc/in.fingerd	in.fingerd
#tftp    dgram   udp     wait    root    /usr/etc/in.tftpd	 in.tftpd -s /tftpboot
comsat	dgram	udp	wait	root	/usr/etc/in.comsat	in.comsat
talk	dgram	udp	wait	root	/usr/etc/in.talkd	in.talkd
name	dgram	udp	wait	root	/usr/etc/in.tnamed	in.tnamed
daytime	stream	tcp	nowait	root	internal
time	stream	tcp	nowait	root	internal
echo	dgram	udp	wait	root	internal
discard	dgram	udp	wait	root	internal
time	dgram	udp	wait	root	internal
#
#@mountd/1	dgram	rpc/udp	wait root /usr/etc/rpc.mountd	rpc.mountd
rexd/1		stream	rpc/tcp	wait root /usr/etc/rpc.rexd	rpc.rexd
#ypupdated/1	stream	rpc/tcp	wait root /usr/etc/rpc.ypupdated rpc.ypupdated
rquotad/1	dgram	rpc/udp	wait root /usr/etc/rpc.rquotad	rpc.rquotad
rstatd/1-3	dgram	rpc/udp	wait root /usr/etc/rpc.rstatd	rpc.rstatd
rusersd/1-2	dgram	rpc/udp	wait root /usr/etc/rpc.rusersd	rpc.rusersd
sprayd/1	dgram	rpc/udp	wait root /usr/etc/rpc.sprayd	rpc.sprayd
walld/1		dgram	rpc/udp	wait root /usr/etc/rpc.rwalld	rpc.rwalld
#
# TMC additions/changes
finger	stream  tcp	nowait  nobody  /usr/local/etc/fingerd	fingerd
supdup	stream	tcp	nowait	root	/usr/local/etc/supdupd	supdupd
telnet	stream	tcp	nowait	root	/usr/local/etc/telnetd	telnetd

-- Bill Nesheim; Thinking Machines Corporation, Cambridge, MA +1 617-876-1111
   nesheim at think.com, {ames,bloom-beacon,mit-eddit}!think!nesheim



More information about the Comp.sys.sun mailing list