From: root@slave.uwe.ac.uk (Operator (Phil/Dylan))
Newsgroups: comp.os.linux
Subject: Re: inetd
Date: 11 Jan 93 02:40:35 GMT
Reply-To: p_copela@csd.uwe.ac.uk
Organization: The New University in the West of England, Bristol (WEB)

In article <1993Jan7.131425.8556@sfu.ca>, wonge@fraser.sfu.ca (Edmund Wong)
writes:
|>    Hi, I was wondering if someone could help me here. 

yes I can

|>    I was trying to figure out the TCP/IP stuff right, and was reading
|> the FAQ<which, the last time, I didn't follow too closely..:(>, and
|> realized one minor problem.

what? that the faq is mind boggingly huge?

|>  I checked the directory listing for
|> /etc/inet, and 'lo and behold, I DON'T have an inetd.conf file!
 
could be a shrewd move to get it 8-) there used to be one included
in tcpip-0.8.1

|>    The FAQ doesn't say what the inetd.conf file CONTAINS,

Try line 554 onwards of the New faq I had jem put up on
sunsite.unc.edu:/pub/Linux/system/Network

|> so can someone
|> email me WHAT the inetd.conf file contains

heres mine (don't worry if something you don't have is referenced)

telnet  stream  tcp     nowait  root    /usr/etc/inet/telnetd   telnetd
ntalk   dgram   udp     wait    root    /usr/etc/inet/ntalkd    ntalkd
ftp     stream  tcp     nowait  root    /usr/etc/inet/ftpd      ftpd -l
finger  stream  tcp     nowait  root    /usr/etc/inet/fingerd   finger
shell   stream  tcp     nowait  root    /usr/etc/inet/rshd      rshd
login   stream  tcp     nowait  root    /usr/etc/inet/rlogind   rlogind
tftp    dgram   udp     wait    root    /usr/etc/inet/tftpd     tftpd
smtp    stream  tcp     nowait  root    /usr/lib/mail/smtpd     smtpd
# rstatd/2-4    dgram   rpc/udp wait root /usr/bin/uptime       uptime
# Internal to inetd
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
name    dgram   udp     wait    root    /etc/in.tnamed  tnamed
exec    stream  tcp     nowait  root    /etc/rexecd     rexecd

the description of inetd.conf has been in the faq from day one

|> and as well as where I can
|> get named.reload and named.restart?  I ftp'd named.tar.Z from 
|> tsx-11.mit.edu, but that tar file lacks 'named.restart' and 
|> 'named.reload'!  

these are shell scripts

you'll have to edit the paths in the scripts but otherwise
they are trivial

	#!/bin/sh -
	#
	#       @(#)named.restart       5.2 (Berkeley) 2/5/89
	#
	kill -9 `cat /usr/etc/inet/named.pid`
	/usr/etc/inet/named 



	#!/bin/sh -
	#
	#       @(#)named.reload        5.1 (Berkeley) 2/8/89
	#
	kill -HUP `cat /usr/etc/inet/named.pid`

|>    Incidentally, the files in named.tar.Z are pretty wierd.  All you
|> needed to do was 'chmod 755 named nslookup nsquery named.x-fer'
|> and it will work!  Why did the person even change the attributes in
|> the first place?

ted? (whoever) wanna sort out the permissions?
(did you try tar with the -p option? (permissions))

Phil
=--=