Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ inetd(SFF) — OpenDesktop 1.0.0y

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fingerd(ADMN)

ftpd(ADMN)

inetd(ADMN)

rexecd(ADMN)

rlogin(ADMN)

rshd(ADMN)

telnetd(ADMN)

tftpd(ADMN)

protocols(SFF)

services(SFF)

INETD.CONF(SFF)


     INETD.CONF(SFF)                            UNIX System V



     Name
          inetd.conf  -  configuration  file   for   inetd   (internet
          ``super-server'')


     Description
          inetd.conf is the  configuration  file  for  the  inetd(SFF)
          System V STREAMS TCP/IP internetworking ``super-server''.

          The file consists of a series of single-line  entries,  each
          entry  corresponding  to  a  service to be invoked by inetd.
          These   services   are   connection-based,   datagram,    or
          ``internal''.

          Internal services are those supported by the inetd  program:
          these   services   are  ``echo'',  ``discard'',  ``chargen''
          (character generator), ``daytime''  (human  readable  time),
          and  ``time''  (machine  readable  time,  in the form of the
          number of seconds since midnight, January 1, 1900).  All  of
          these services are tcp based.

          Each service, including internal services, must have a valid
          entry  in  /etc/services(ADMN).   In the case of an internal
          service, its name must correspond to the  official  name  of
          the service:  that is, the first entry in /etc/services.

          Each entry has a series of space- or  tab-separated  fields.
          (No  field,  except  for  the last one, may be omitted.) The
          fields are as follows:

          service name
               Name of a valid service in /etc/services, as  described
               above.

          socket type
               One of ``stream'', ``dgram'', or ``raw'', depending  on
               whether  the  socket  type  is stream, datagram, or raw
               [see socket(SSC)].

          protocol
               Name  of  a  valid  protocol  (for  example,   ``tcp'')
               specified in /etc/protocols(ADMN).

          wait/nowait
               Specifies whether the socket can be made available  for
               new  connections  while  there is still data waiting on
               the socket.  The value is always ``nowait''  unless  it
               is  a datagram socket.  If it is a datagram socket, the
               value  is  usually  ``wait'',  although  ``nowait''  is
               possible  in  some  cases.   (Note  that  tftpd  is  an
               exception in that it must have ``wait'' specified,  and
               yet  the socket can continue to process messages on the
               port.)

          user Name of the user as whom the server should  run.   This
               allows  servers  to  be  run  with less permission than
               root.

          server program
               Except in the case of internal services, full  pathname
               of  the  server  program  to be invoked by inetd when a
               request is  waiting  on  a  socket.   For  an  internal
               service, the value is ``internal''.

          server program arguments
               Arguments to the server program, starting with argv[0],
               which  is  the  name  of  the  program. For an internal
               service, the value is ``internal''.

          Comments are denoted by a ``#'' at the beginning of a line.

          The distribution inetd.conf file contains prototype entries;
          refer to these entries when editing the file.


     Example
                    .
                    .
                    .
          ftp  stream   tcp   nowait         root/etc/ftpdftpd
          telnet    stream    tcp   nowait   root/etc/telnetdtelnetd
          login     stream    tcp   nowait   root/etc/rlogindrlogind
          exec stream   tcp   nowait         root/etc/rexecdrexecd
          finger    stream    tcp   nowait   sync/etc/fingerdfingerd
          echo stream   tcp   nowait         rootinternal
          discard   stream    tcp   nowait   rootinternal
          chargen   stream    tcp   nowait   rootinternal
          daytime   stream    tcp   nowait   rootinternal
          time stream   tcp   nowait         rootinternal
          echo dgram    udp   wait  root     internal
          discard   dgram     udp   wait     rootinternal
          chargen   dgram     udp   wait     rootinternal
          daytime   dgram     udp   wait     rootinternal
          time dgram    udp   wait  root     internal
                    .
                    .
                    .


     See Also
          fingerd(ADMN),   ftpd(ADMN),   inetd(ADMN),    rexecd(ADMN),
          rlogin(ADMN),    rshd(ADMN),   telnetd(ADMN),   tftpd(ADMN),
          protocols(SFF), services(SFF).


     (printed 8/17/89)                          INETD.CONF(SFF)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026