DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: i

⟦756468eb2⟧

    Length: 5203 (0x1453)
    Names: »inetd.8c«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/man/cat8/inetd.8c« 

Default Hex Dump

0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f   ┆   _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆
0x0020…0040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 53 79 73 74 65 6d 20 4d 61 6e 61 67 65 72 20 43   ┆ u_ a_ l        System Manager C┆
0x0040…0060 6f 6d 6d 61 6e 64 73 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 65 74 64 28 38 63 29 0a 0a 0a 0a   ┆ommands            inetd(8c)    ┆
0x0060…0080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20   ┆N N N NA A A AM M M ME E E E    ┆
0x0080…00a0 20 20 69 6e 65 74 64 20 2d 20 69 6e 74 65 72 6e 65 74 20 60 60 73 75 70 65 72 2d 73 65 72 76 65   ┆  inetd - internet ``super-serve┆
0x00a0…00c0 72 27 27 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08   ┆r''  S S S SY Y Y YN N N NT T T ┆
0x00c0…00e0 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 2f 08 2f 08 2f 08 2f 65 08 65 08   ┆TA A A AX X X X      / / / /e e ┆
0x00e0…0100 65 08 65 74 08 74 08 74 08 74 63 08 63 08 63 08 63 2f 08 2f 08 2f 08 2f 69 08 69 08 69 08 69 6e   ┆e et t t tc c c c/ / / /i i i in┆
0x0100…0120 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 74 08 74 08 74 08 74 64 08 64 08 64 08 64 20 5b 2d 08 2d   ┆ n n ne e e et t t td d d d [- -┆
0x0120…0140 08 2d 08 2d 64 08 64 08 64 08 64 5d 20 5b 5f 08 63 5f 08 6f 5f 08 6e 5f 08 66 5f 08 69 5f 08 67   ┆ - -d d d d] [_ c_ o_ n_ f_ i_ g┆
0x0140…0160 5f 08 75 5f 08 72 5f 08 61 5f 08 74 5f 08 69 5f 08 6f 5f 08 6e 2d 5f 08 66 5f 08 69 5f 08 6c 5f   ┆_ u_ r_ a_ t_ i_ o_ n-_ f_ i_ l_┆
0x0160…0180 08 65 5d 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 43 08   ┆ e]  D D D DE E E ES S S SC C C ┆
0x0180…01a0 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 08 49   ┆CR R R RI I I IP P P PT T T TI I┆
0x01a0…01c0 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 5f 08 49 5f 08 6e 5f 08   ┆ I IO O O ON N N N      _ I_ n_ ┆
0x01c0…01e0 65 5f 08 74 5f 08 64 20 73 68 6f 75 6c 64 20 62 65 20 61 63 74 69 76 61 74 65 64 20 62 79 20 74   ┆e_ t_ d should be activated by t┆
0x01e0…0200 68 65 20 69 6e 69 74 20 70 72 6f 63 63 65 73 73 20 66 72 6f 6d 20 74 68 65 20 66 69 6c 65 0a 20   ┆he init proccess from the file  ┆
0x0200…0220 20 20 20 20 2f 65 74 63 2f 69 6e 69 74 74 61 62 2e 20 20 49 74 20 74 68 65 6e 20 6c 69 73 74 65   ┆    /etc/inittab.  It then liste┆
0x0220…0240 6e 73 20 66 6f 72 20 63 6f 6e 6e 65 63 74 69 6f 6e 73 20 6f 6e 20 63 65 72 74 61 69 6e 0a 20 20   ┆ns for connections on certain   ┆
0x0240…0260 20 20 20 69 6e 74 65 72 6e 65 74 20 73 6f 63 6b 65 74 73 2e 20 20 57 68 65 6e 20 61 20 63 6f 6e   ┆   internet sockets.  When a con┆
0x0260…0280 6e 65 63 74 69 6f 6e 20 69 73 20 66 6f 75 6e 64 20 6f 6e 20 6f 6e 65 20 6f 66 20 69 74 73 0a 20   ┆nection is found on one of its  ┆
0x0280…02a0 20 20 20 20 73 6f 63 6b 65 74 73 2c 20 69 74 20 64 65 63 69 64 65 73 20 77 68 61 74 20 73 65 72   ┆    sockets, it decides what ser┆
0x02a0…02c0 76 69 63 65 20 74 68 65 20 73 6f 63 6b 65 74 20 63 6f 72 72 65 73 70 6f 6e 64 73 20 74 6f 2c 0a   ┆vice the socket corresponds to, ┆
0x02c0…02e0 20 20 20 20 20 61 6e 64 20 69 6e 76 6f 6b 65 73 20 61 20 70 72 6f 67 72 61 6d 20 74 6f 20 73 65   ┆     and invokes a program to se┆
0x02e0…0300 72 76 69 63 65 20 74 68 65 20 72 65 71 75 65 73 74 2e 20 20 41 66 74 65 72 20 74 68 65 0a 20 20   ┆rvice the request.  After the   ┆
0x0300…0320 20 20 20 70 72 6f 67 72 61 6d 20 69 73 20 66 69 6e 69 73 68 65 64 2c 20 69 74 20 63 6f 6e 74 69   ┆   program is finished, it conti┆
0x0320…0340 6e 75 65 73 20 74 6f 20 6c 69 73 74 65 6e 20 6f 6e 20 74 68 65 20 73 6f 63 6b 65 74 0a 20 20 20   ┆nues to listen on the socket    ┆
0x0340…0360 20 20 28 65 78 63 65 70 74 20 69 6e 20 73 6f 6d 65 20 63 61 73 65 73 20 77 68 69 63 68 20 77 69   ┆  (except in some cases which wi┆
0x0360…0380 6c 6c 20 62 65 20 64 65 73 63 72 69 62 65 64 20 62 65 6c 6f 77 29 2e 0a 20 20 20 20 20 45 73 73   ┆ll be described below).      Ess┆
0x0380…03a0 65 6e 74 69 61 6c 6c 79 2c 20 5f 08 69 5f 08 6e 5f 08 65 5f 08 74 5f 08 64 20 61 6c 6c 6f 77 73   ┆entially, _ i_ n_ e_ t_ d allows┆
0x03a0…03c0 20 72 75 6e 6e 69 6e 67 20 6f 6e 65 20 64 61 65 6d 6f 6e 20 74 6f 20 69 6e 76 6f 6b 65 0a 20 20   ┆ running one daemon to invoke   ┆
0x03c0…03e0 20 20 20 73 65 76 65 72 61 6c 20 6f 74 68 65 72 73 2c 20 72 65 64 75 63 69 6e 67 20 6c 6f 61 64   ┆   several others, reducing load┆
0x03e0…0400 20 6f 6e 20 74 68 65 20 73 79 73 74 65 6d 2e 0a 0a 20 20 20 20 20 55 70 6f 6e 20 65 78 65 63 75   ┆ on the system.       Upon execu┆
0x0400…0420 74 69 6f 6e 2c 20 5f 08 69 5f 08 6e 5f 08 65 5f 08 74 5f 08 64 20 72 65 61 64 73 20 69 74 73 20   ┆tion, _ i_ n_ e_ t_ d reads its ┆
0x0420…0440 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 0a 20 20 20 20 20 66   ┆configuration information      f┆
0x0440…0460 72 6f 6d 20 61 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 66 69 6c 65 20 77 68 69 63 68 2c 20   ┆rom a configuration file which, ┆
0x0460…0480 62 79 20 64 65 66 61 75 6c 74 2c 20 69 73 0a 20 20 20 20 20 2f 5f 08 65 5f 08 74 5f 08 63 2f 5f   ┆by default, is      /_ e_ t_ c/_┆
0x0480…04a0 08 69 5f 08 6e 5f 08 65 5f 08 74 5f 08 64 2e 5f 08 63 5f 08 6f 5f 08 6e 5f 08 66 2e 20 20 54 68   ┆ i_ n_ e_ t_ d._ c_ o_ n_ f.  Th┆
0x04a0…04c0 65 72 65 20 6d 75 73 74 20 62 65 20 61 6e 20 65 6e 74 72 79 20 66 6f 72 20 65 61 63 68 20 66 69   ┆ere must be an entry for each fi┆
0x04c0…04e0 65 6c 64 20 6f 66 0a 20 20 20 20 20 74 68 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 66 69   ┆eld of      the configuration fi┆
0x04e0…0500 6c 65 2c 20 77 69 74 68 20 65 6e 74 72 69 65 73 20 66 6f 72 20 65 61 63 68 20 66 69 65 6c 64 0a   ┆le, with entries for each field ┆
0x0500…0520 20 20 20 20 20 73 65 70 61 72 61 74 65 64 20 62 79 20 61 20 74 61 62 20 6f 72 20 61 20 73 70 61   ┆     separated by a tab or a spa┆
0x0520…0540 63 65 2e 20 20 43 6f 6d 6d 65 6e 74 73 20 61 72 65 20 64 65 6e 6f 74 65 64 20 62 79 20 61 0a 20   ┆ce.  Comments are denoted by a  ┆
0x0540…0560 20 20 20 20 60 60 23 27 27 20 61 74 20 74 68 65 20 62 65 67 69 6e 6e 69 6e 67 20 6f 66 20 61 20   ┆    ``#'' at the beginning of a ┆
0x0560…0580 6c 69 6e 65 2e 20 20 54 68 65 72 65 20 6d 75 73 74 20 62 65 20 61 6e 20 65 6e 74 72 79 0a 20 20   ┆line.  There must be an entry   ┆
0x0580…05a0 20 20 20 66 6f 72 20 65 61 63 68 20 66 69 65 6c 64 2e 20 20 54 68 65 20 66 69 65 6c 64 73 20 6f   ┆   for each field.  The fields o┆
0x05a0…05c0 66 20 74 68 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 66 69 6c 65 20 61 72 65 20 61 73 0a   ┆f the configuration file are as ┆
0x05c0…05e0 20 20 20 20 20 66 6f 6c 6c 6f 77 73 3a 0a 0a 20 20 20 20 20 20 20 20 20 20 73 65 72 76 69 63 65   ┆     follows:            service┆
0x05e0…0600 20 6e 61 6d 65 0a 20 20 20 20 20 20 20 20 20 20 73 6f 63 6b 65 74 20 74 79 70 65 0a 20 20 20 20   ┆ name           socket type     ┆
0x0600…0620 20 20 20 20 20 20 70 72 6f 74 6f 63 6f 6c 0a 20 20 20 20 20 20 20 20 20 20 77 61 69 74 2f 6e 6f   ┆      protocol           wait/no┆
0x0620…0640 77 61 69 74 0a 20 20 20 20 20 20 20 20 20 20 75 73 65 72 0a 20 20 20 20 20 20 20 20 20 20 73 65   ┆wait           user           se┆
0x0640…0660 72 76 65 72 20 70 72 6f 67 72 61 6d 0a 20 20 20 20 20 20 20 20 20 20 73 65 72 76 65 72 20 70 72   ┆rver program           server pr┆
0x0660…0680 6f 67 72 61 6d 20 61 72 67 75 6d 65 6e 74 73 0a 0a 20 20 20 20 20 54 68 65 20 5f 08 73 5f 08 65   ┆ogram arguments       The _ s_ e┆
0x0680…06a0 5f 08 72 5f 08 76 5f 08 69 5f 08 63 5f 08 65 20 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 20 65 6e 74   ┆_ r_ v_ i_ c_ e _ n_ a_ m_ e ent┆
0x06a0…06c0 72 79 20 69 73 20 74 68 65 20 6e 61 6d 65 20 6f 66 20 61 20 76 61 6c 69 64 20 73 65 72 76 69 63   ┆ry is the name of a valid servic┆
0x06c0…06e0 65 20 69 6e 20 74 68 65 0a 20 20 20 20 20 66 69 6c 65 20 2f 5f 08 65 5f 08 74 5f 08 63 2f 5f 08   ┆e in the      file /_ e_ t_ c/_ ┆
0x06e0…0700 73 5f 08 65 5f 08 72 5f 08 76 5f 08 69 5f 08 63 5f 08 65 5f 08 73 2f 2e 20 20 46 6f 72 20 60 60   ┆s_ e_ r_ v_ i_ c_ e_ s/.  For ``┆
0x0700…0720 69 6e 74 65 72 6e 61 6c 27 27 20 73 65 72 76 69 63 65 73 20 28 64 69 73 63 75 73 73 65 64 0a 20   ┆internal'' services (discussed  ┆
0x0720…0740 20 20 20 20 62 65 6c 6f 77 29 2c 20 74 68 65 20 73 65 72 76 69 63 65 20 6e 61 6d 65 20 5f 08 6d   ┆    below), the service name _ m┆
0x0740…0760 5f 08 75 5f 08 73 5f 08 74 20 62 65 20 74 68 65 20 6f 66 66 69 63 69 61 6c 20 6e 61 6d 65 20 6f   ┆_ u_ s_ t be the official name o┆
0x0760…0780 66 20 74 68 65 0a 20 20 20 20 20 73 65 72 76 69 63 65 20 28 74 68 61 74 20 69 73 2c 20 74 68 65   ┆f the      service (that is, the┆
0x0780…07a0 20 66 69 72 73 74 20 65 6e 74 72 79 20 69 6e 20 2f 5f 08 65 5f 08 74 5f 08 63 2f 5f 08 73 5f 08   ┆ first entry in /_ e_ t_ c/_ s_ ┆
0x07a0…07c0 65 5f 08 72 5f 08 76 5f 08 69 5f 08 63 5f 08 65 5f 08 73 29 2e 0a 0a 20 20 20 20 20 54 68 65 20   ┆e_ r_ v_ i_ c_ e_ s).       The ┆
0x07c0…07e0 5f 08 73 5f 08 6f 5f 08 63 5f 08 6b 5f 08 65 5f 08 74 20 5f 08 74 5f 08 79 5f 08 70 5f 08 65 20   ┆_ s_ o_ c_ k_ e_ t _ t_ y_ p_ e ┆
0x07e0…0800 73 68 6f 75 6c 64 20 62 65 20 6f 6e 65 20 6f 66 20 60 60 73 74 72 65 61 6d 27 27 2c 20 60 60 64   ┆should be one of ``stream'', ``d┆
0x0800…0820 67 72 61 6d 27 27 2c 0a 20 20 20 20 20 60 60 72 61 77 27 27 2c 20 60 60 72 64 6d 27 27 2c 20 6f   ┆gram'',      ``raw'', ``rdm'', o┆
0x0820…0840 72 20 60 60 73 65 71 70 61 63 6b 65 74 27 27 2c 20 64 65 70 65 6e 64 69 6e 67 20 6f 6e 20 77 68   ┆r ``seqpacket'', depending on wh┆
0x0840…0860 65 74 68 65 72 20 74 68 65 0a 20 20 20 20 20 73 6f 63 6b 65 74 20 69 73 20 61 20 73 74 72 65 61   ┆ether the      socket is a strea┆
0x0860…0880 6d 2c 20 64 61 74 61 67 72 61 6d 2c 20 72 61 77 2c 20 72 65 6c 69 61 62 6c 79 20 64 65 6c 69 76   ┆m, datagram, raw, reliably deliv┆
0x0880…08a0 65 72 65 64 20 6d 65 73 2d 0a 20 20 20 20 20 73 61 67 65 2c 20 6f 72 20 73 65 71 75 65 6e 63 65   ┆ered mes-      sage, or sequence┆
0x08a0…08c0 64 20 70 61 63 6b 65 74 20 73 6f 63 6b 65 74 2e 0a 0a 20 20 20 20 20 54 68 65 20 5f 08 70 5f 08   ┆d packet socket.       The _ p_ ┆
0x08c0…08e0 72 5f 08 6f 5f 08 74 5f 08 6f 5f 08 63 5f 08 6f 5f 08 6c 20 6d 75 73 74 20 62 65 20 61 20 76 61   ┆r_ o_ t_ o_ c_ o_ l must be a va┆
0x08e0…0900 6c 69 64 20 70 72 6f 74 6f 63 6f 6c 20 61 73 20 67 69 76 65 6e 20 69 6e 0a 20 20 20 20 20 2f 5f   ┆lid protocol as given in      /_┆
0x0900…0920 08 65 5f 08 74 5f 08 63 2f 5f 08 70 5f 08 72 5f 08 6f 5f 08 74 5f 08 6f 5f 08 63 5f 08 6f 5f 08   ┆ e_ t_ c/_ p_ r_ o_ t_ o_ c_ o_ ┆
0x0920…0940 6c 5f 08 73 2e 20 20 45 78 61 6d 70 6c 65 73 20 6d 69 67 68 74 20 62 65 20 60 60 74 63 70 27 27   ┆l_ s.  Examples might be ``tcp''┆
0x0940…0960 20 6f 72 20 60 60 75 64 70 27 27 2e 0a 0a 20 20 20 20 20 54 68 65 20 5f 08 77 5f 08 61 5f 08 69   ┆ or ``udp''.       The _ w_ a_ i┆
0x0960…0980 5f 08 74 2f 5f 08 6e 5f 08 6f 5f 08 77 5f 08 61 5f 08 69 5f 08 74 20 65 6e 74 72 79 20 69 73 20   ┆_ t/_ n_ o_ w_ a_ i_ t entry is ┆
0x0980…09a0 61 70 70 6c 69 63 61 62 6c 65 20 74 6f 20 64 61 74 61 67 72 61 6d 20 73 6f 63 6b 65 74 73 20 6f   ┆applicable to datagram sockets o┆
0x09a0…09c0 6e 6c 79 0a 20 20 20 20 20 28 6f 74 68 65 72 20 73 6f 63 6b 65 74 73 20 73 68 6f 75 6c 64 20 68   ┆nly      (other sockets should h┆
0x09c0…09e0 61 76 65 20 61 20 60 60 6e 6f 77 61 69 74 27 27 20 65 6e 74 72 79 20 69 6e 20 74 68 69 73 0a 20   ┆ave a ``nowait'' entry in this  ┆
0x09e0…0a00 20 20 20 20 73 70 61 63 65 29 2e 20 20 49 66 20 61 20 64 61 74 61 67 72 61 6d 20 73 65 72 76 65   ┆    space).  If a datagram serve┆
0x0a00…0a20 72 20 63 6f 6e 6e 65 63 74 73 20 74 6f 20 69 74 73 20 70 65 65 72 2c 20 66 72 65 65 69 6e 67 0a   ┆r connects to its peer, freeing ┆
0x0a20…0a40 20 20 20 20 20 74 68 65 20 73 6f 63 6b 65 74 20 73 6f 20 5f 08 69 5f 08 6e 5f 08 65 5f 08 74 5f   ┆     the socket so _ i_ n_ e_ t_┆
0x0a40…0a60 08 64 20 63 61 6e 20 72 65 63 65 69 76 65 64 20 66 75 72 74 68 65 72 20 6d 65 73 73 61 67 65 73   ┆ d can received further messages┆
0x0a60…0a80 20 6f 6e 20 74 68 65 0a 20 20 20 20 20 73 6f 63 6b 65 74 2c 20 69 74 20 69 73 20 73 61 69 64 20   ┆ on the      socket, it is said ┆
0x0a80…0aa0 74 6f 20 62 65 20 61 20 60 60 6d 75 6c 74 69 2d 74 68 72 65 61 64 65 64 27 27 20 73 65 72 76 65   ┆to be a ``multi-threaded'' serve┆
0x0aa0…0ac0 72 2c 20 61 6e 64 0a 20 20 20 20 20 73 68 6f 75 6c 64 20 75 73 65 20 74 68 65 20 60 60 6e 6f 77   ┆r, and      should use the ``now┆
0x0ac0…0ae0 61 69 74 27 27 20 65 6e 74 72 79 2e 20 20 46 6f 72 20 64 61 74 61 67 72 61 6d 20 73 65 72 76 65   ┆ait'' entry.  For datagram serve┆
0x0ae0…0b00 72 73 20 77 68 69 63 68 0a 20 20 20 20 20 70 72 6f 63 65 73 73 20 61 6c 6c 20 69 6e 63 6f 6d 69   ┆rs which      process all incomi┆
0x0b00…0b20 6e 67 20 64 61 74 61 67 72 61 6d 73 20 6f 6e 20 61 20 73 6f 63 6b 65 74 20 61 6e 64 20 65 76 65   ┆ng datagrams on a socket and eve┆
0x0b20…0b40 6e 74 75 61 6c 6c 79 0a 20 20 20 20 20 74 69 6d 65 20 6f 75 74 2c 20 74 68 65 20 73 65 72 76 65   ┆ntually      time out, the serve┆
0x0b40…0b60 72 20 69 73 20 73 61 69 64 20 74 6f 20 62 65 20 60 60 73 69 6e 67 6c 65 2d 74 68 72 65 61 64 65   ┆r is said to be ``single-threade┆
0x0b60…0b80 64 27 27 20 61 6e 64 0a 20 20 20 20 20 73 68 6f 75 6c 64 20 75 73 65 20 61 20 60 60 77 61 69 74   ┆d'' and      should use a ``wait┆
0x0b80…0ba0 27 27 20 65 6e 74 72 79 2e 20 20 60 60 43 6f 6d 73 61 74 27 27 20 28 60 60 62 69 66 66 27 27 29   ┆'' entry.  ``Comsat'' (``biff'')┆
0x0ba0…0bc0 20 61 6e 64 0a 20 20 20 20 20 60 60 74 61 6c 6b 27 27 20 61 72 65 20 62 6f 74 68 20 65 78 61 6d   ┆ and      ``talk'' are both exam┆
0x0bc0…0be0 70 6c 65 73 20 6f 66 20 74 68 65 20 6c 61 74 74 65 72 20 74 79 70 65 20 6f 66 20 64 61 74 61 67   ┆ples of the latter type of datag┆
0x0be0…0c00 72 61 6d 0a 20 20 20 20 20 73 65 72 76 65 72 2e 20 20 5f 08 54 5f 08 66 5f 08 74 5f 08 70 5f 08   ┆ram      server.  _ T_ f_ t_ p_ ┆
0x0c00…0c20 64 20 69 73 20 61 6e 20 65 78 63 65 70 74 69 6f 6e 3b 20 69 74 20 69 73 20 61 20 64 61 74 61 67   ┆d is an exception; it is a datag┆
0x0c20…0c40 72 61 6d 20 73 65 72 76 65 72 20 74 68 61 74 0a 20 20 20 20 20 65 73 74 61 62 6c 69 73 68 65 73   ┆ram server that      establishes┆
0x0c40…0c60 20 70 73 65 75 64 6f 2d 63 6f 6e 6e 65 63 74 69 6f 6e 73 2e 20 20 49 74 20 6d 75 73 74 20 62 65   ┆ pseudo-connections.  It must be┆
0x0c60…0c80 20 6c 69 73 74 65 64 20 61 73 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 60 60 77 61 69 74 27 27 20 69   ┆ listed as            ``wait'' i┆
0x0c80…0ca0 6e 20 6f 72 64 65 72 20 74 6f 20 61 76 6f 69 64 20 61 20 72 61 63 65 3b 20 74 68 65 20 73 65 72   ┆n order to avoid a race; the ser┆
0x0ca0…0cc0 76 65 72 20 72 65 61 64 73 20 74 68 65 0a 20 20 20 20 20 66 69 72 73 74 20 70 61 63 6b 65 74 2c   ┆ver reads the      first packet,┆
0x0cc0…0ce0 20 63 72 65 61 74 65 73 20 61 20 6e 65 77 20 73 6f 63 6b 65 74 2c 20 61 6e 64 20 74 68 65 6e 20   ┆ creates a new socket, and then ┆
0x0ce0…0d00 66 6f 72 6b 73 20 61 6e 64 20 65 78 69 74 73 0a 20 20 20 20 20 74 6f 20 61 6c 6c 6f 77 20 5f 08   ┆forks and exits      to allow _ ┆
0x0d00…0d20 69 5f 08 6e 5f 08 65 5f 08 74 5f 08 64 20 74 6f 20 63 68 65 63 6b 20 66 6f 72 20 6e 65 77 20 73   ┆i_ n_ e_ t_ d to check for new s┆
0x0d20…0d40 65 72 76 69 63 65 20 72 65 71 75 65 73 74 73 20 74 6f 20 73 70 61 77 6e 0a 20 20 20 20 20 6e 65   ┆ervice requests to spawn      ne┆
0x0d40…0d60 77 20 73 65 72 76 65 72 73 2e 0a 0a 20 20 20 20 20 54 68 65 20 5f 08 75 5f 08 73 5f 08 65 5f 08   ┆w servers.       The _ u_ s_ e_ ┆
0x0d60…0d80 72 20 65 6e 74 72 79 20 73 68 6f 75 6c 64 20 63 6f 6e 74 61 69 6e 20 74 68 65 20 75 73 65 72 20   ┆r entry should contain the user ┆
0x0d80…0da0 6e 61 6d 65 20 6f 66 20 74 68 65 20 75 73 65 72 20 61 73 0a 20 20 20 20 20 77 68 6f 6d 20 74 68   ┆name of the user as      whom th┆
0x0da0…0dc0 65 20 73 65 72 76 65 72 20 73 68 6f 75 6c 64 20 72 75 6e 2e 20 20 54 68 69 73 20 61 6c 6c 6f 77   ┆e server should run.  This allow┆
0x0dc0…0de0 73 20 66 6f 72 20 73 65 72 76 65 72 73 20 74 6f 20 62 65 0a 20 20 20 20 20 67 69 76 65 6e 20 6c   ┆s for servers to be      given l┆
0x0de0…0e00 65 73 73 20 70 65 72 6d 69 73 73 69 6f 6e 20 74 68 61 6e 20 72 6f 6f 74 2e 20 20 54 68 65 20 5f   ┆ess permission than root.  The _┆
0x0e00…0e20 08 73 5f 08 65 5f 08 72 5f 08 76 5f 08 65 5f 08 72 20 5f 08 70 5f 08 72 5f 08 6f 5f 08 67 5f 08   ┆ s_ e_ r_ v_ e_ r _ p_ r_ o_ g_ ┆
0x0e20…0e40 72 5f 08 61 5f 08 6d 20 65 6e 74 72 79 0a 20 20 20 20 20 73 68 6f 75 6c 64 20 63 6f 6e 74 61 69   ┆r_ a_ m entry      should contai┆
0x0e40…0e60 6e 20 74 68 65 20 70 61 74 68 6e 61 6d 65 20 6f 66 20 74 68 65 20 70 72 6f 67 72 61 6d 20 77 68   ┆n the pathname of the program wh┆
0x0e60…0e80 69 63 68 20 69 73 20 74 6f 20 62 65 0a 20 20 20 20 20 65 78 65 63 75 74 65 64 20 62 79 20 5f 08   ┆ich is to be      executed by _ ┆
0x0e80…0ea0 69 5f 08 6e 5f 08 65 5f 08 74 5f 08 64 20 77 68 65 6e 20 61 20 72 65 71 75 65 73 74 20 69 73 20   ┆i_ n_ e_ t_ d when a request is ┆
0x0ea0…0ec0 66 6f 75 6e 64 20 6f 6e 20 69 74 73 20 73 6f 63 6b 65 74 2e 0a 20 20 20 20 20 5f 08 69 5f 08 6e   ┆found on its socket.      _ i_ n┆
0x0ec0…0ee0 5f 08 65 5f 08 74 5f 08 64 20 61 6c 6c 6f 77 73 20 66 6f 72 20 74 68 65 20 66 69 72 73 74 20 63   ┆_ e_ t_ d allows for the first c┆
0x0ee0…0f00 6f 6d 70 6f 6e 65 6e 74 20 6f 66 20 74 68 65 20 70 61 74 68 6e 61 6d 65 20 74 6f 20 62 65 0a 20   ┆omponent of the pathname to be  ┆
0x0f00…0f20 20 20 20 20 22 24 50 55 22 20 28 65 2e 67 2e 20 2f 24 5f 08 50 5f 08 55 2f 5f 08 65 5f 08 74 5f   ┆    "$PU" (e.g. /$_ P_ U/_ e_ t_┆
0x0f20…0f40 08 63 2f 5f 08 66 5f 08 74 5f 08 70 5f 08 64 29 2c 20 77 68 69 63 68 20 69 74 20 74 68 65 6e 20   ┆ c/_ f_ t_ p_ d), which it then ┆
0x0f40…0f60 65 78 70 61 6e 64 73 20 69 6e 74 6f 20 74 68 65 0a 20 20 20 20 20 61 63 74 75 61 6c 20 50 55 20   ┆expands into the      actual PU ┆
0x0f60…0f80 6e 61 6d 65 2e 20 20 49 66 20 5f 08 69 5f 08 6e 5f 08 65 5f 08 74 5f 08 64 20 70 72 6f 76 69 64   ┆name.  If _ i_ n_ e_ t_ d provid┆
0x0f80…0fa0 65 73 20 74 68 69 73 20 73 65 72 76 69 63 65 20 69 6e 74 65 72 6e 61 6c 6c 79 2c 0a 20 20 20 20   ┆es this service internally,     ┆
0x0fa0…0fc0 20 74 68 69 73 20 65 6e 74 72 79 20 73 68 6f 75 6c 64 20 62 65 20 60 60 69 6e 74 65 72 6e 61 6c   ┆ this entry should be ``internal┆
0x0fc0…0fe0 27 27 2e 0a 0a 20 20 20 20 20 54 68 65 20 61 72 67 75 6d 65 6e 74 73 20 74 6f 20 74 68 65 20 73   ┆''.       The arguments to the s┆
0x0fe0…1000 65 72 76 65 72 20 70 72 6f 67 72 61 6d 20 73 68 6f 75 6c 64 20 62 65 20 6a 75 73 74 20 61 73 20   ┆erver program should be just as ┆
0x1000…1020 74 68 65 79 0a 20 20 20 20 20 6e 6f 72 6d 61 6c 6c 79 20 61 72 65 2c 20 73 74 61 72 74 69 6e 67   ┆they      normally are, starting┆
0x1020…1040 20 77 69 74 68 20 61 72 67 76 5b 30 5d 2c 20 77 68 69 63 68 20 69 73 20 74 68 65 20 6e 61 6d 65   ┆ with argv[0], which is the name┆
0x1040…1060 20 6f 66 0a 20 20 20 20 20 74 68 65 20 70 72 6f 67 72 61 6d 2e 20 20 49 66 20 74 68 65 20 73 65   ┆ of      the program.  If the se┆
0x1060…1080 72 76 69 63 65 20 69 73 20 70 72 6f 76 69 64 65 64 20 69 6e 74 65 72 6e 61 6c 6c 79 2c 20 74 68   ┆rvice is provided internally, th┆
0x1080…10a0 65 0a 20 20 20 20 20 77 6f 72 64 20 60 60 69 6e 74 65 72 6e 61 6c 27 27 20 73 68 6f 75 6c 64 20   ┆e      word ``internal'' should ┆
0x10a0…10c0 74 61 6b 65 20 74 68 65 20 70 6c 61 63 65 20 6f 66 20 74 68 69 73 20 65 6e 74 72 79 2e 0a 0a 20   ┆take the place of this entry.   ┆
0x10c0…10e0 20 20 20 20 5f 08 49 5f 08 6e 5f 08 65 5f 08 74 5f 08 64 20 70 72 6f 76 69 64 65 73 20 73 65 76   ┆    _ I_ n_ e_ t_ d provides sev┆
0x10e0…1100 65 72 61 6c 20 60 60 74 72 69 76 69 61 6c 27 27 20 73 65 72 76 69 63 65 73 20 69 6e 74 65 72 6e   ┆eral ``trivial'' services intern┆
0x1100…1120 61 6c 6c 79 20 62 79 0a 20 20 20 20 20 75 73 65 20 6f 66 20 72 6f 75 74 69 6e 65 73 20 77 69 74   ┆ally by      use of routines wit┆
0x1120…1140 68 69 6e 20 69 74 73 65 6c 66 2e 20 20 54 68 65 73 65 20 73 65 72 76 69 63 65 73 20 61 72 65 20   ┆hin itself.  These services are ┆
0x1140…1160 60 60 65 63 68 6f 27 27 2c 0a 20 20 20 20 20 60 60 64 69 73 63 61 72 64 27 27 2c 20 60 60 63 68   ┆``echo'',      ``discard'', ``ch┆
0x1160…1180 61 72 67 65 6e 27 27 20 28 63 68 61 72 61 63 74 65 72 20 67 65 6e 65 72 61 74 6f 72 29 2c 20 60   ┆argen'' (character generator), `┆
0x1180…11a0 60 64 61 79 74 69 6d 65 27 27 0a 20 20 20 20 20 28 68 75 6d 61 6e 20 72 65 61 64 61 62 6c 65 20   ┆`daytime''      (human readable ┆
0x11a0…11c0 74 69 6d 65 29 2c 20 61 6e 64 20 60 60 74 69 6d 65 27 27 20 28 6d 61 63 68 69 6e 65 20 72 65 61   ┆time), and ``time'' (machine rea┆
0x11c0…11e0 64 61 62 6c 65 20 74 69 6d 65 2c 0a 20 20 20 20 20 69 6e 20 74 68 65 20 66 6f 72 6d 20 6f 66 20   ┆dable time,      in the form of ┆
0x11e0…1200 74 68 65 20 6e 75 6d 62 65 72 20 6f 66 20 73 65 63 6f 6e 64 73 20 73 69 6e 63 65 20 6d 69 64 6e   ┆the number of seconds since midn┆
0x1200…1220 69 67 68 74 2c 20 4a 61 6e 75 61 72 79 0a 20 20 20 20 20 31 2c 20 31 39 30 30 29 2e 20 20 41 6c   ┆ight, January      1, 1900).  Al┆
0x1220…1240 6c 20 6f 66 20 74 68 65 73 65 20 73 65 72 76 69 63 65 73 20 61 72 65 20 74 63 70 20 62 61 73 65   ┆l of these services are tcp base┆
0x1240…1260 64 2e 20 20 46 6f 72 20 64 65 74 61 69 6c 73 0a 20 20 20 20 20 6f 66 20 74 68 65 73 65 20 73 65   ┆d.  For details      of these se┆
0x1260…1280 72 76 69 63 65 73 2c 20 63 6f 6e 73 75 6c 74 20 74 68 65 20 61 70 70 72 6f 70 72 69 61 74 65 20   ┆rvices, consult the appropriate ┆
0x1280…12a0 52 46 43 20 66 72 6f 6d 20 74 68 65 20 4e 65 74 2d 0a 20 20 20 20 20 77 6f 72 6b 20 49 6e 66 6f   ┆RFC from the Net-      work Info┆
0x12a0…12c0 72 6d 61 74 69 6f 6e 20 43 65 6e 74 65 72 2e 0a 0a 20 20 20 20 20 5f 08 49 5f 08 6e 5f 08 65 5f   ┆rmation Center.       _ I_ n_ e_┆
0x12c0…12e0 08 74 5f 08 64 20 72 65 72 65 61 64 73 20 69 74 73 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20   ┆ t_ d rereads its configuration ┆
0x12e0…1300 66 69 6c 65 20 77 68 65 6e 20 69 74 20 72 65 63 65 69 76 65 73 20 61 0a 20 20 20 20 20 68 61 6e   ┆file when it receives a      han┆
0x1300…1320 67 75 70 20 73 69 67 6e 61 6c 2c 20 53 49 47 48 55 50 2e 20 20 53 65 72 76 69 63 65 73 20 6d 61   ┆gup signal, SIGHUP.  Services ma┆
0x1320…1340 79 20 62 65 20 61 64 64 65 64 2c 20 64 65 6c 65 74 65 64 20 6f 72 0a 20 20 20 20 20 6d 6f 64 69   ┆y be added, deleted or      modi┆
0x1340…1360 66 69 65 64 20 77 68 65 6e 20 74 68 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 66 69 6c 65   ┆fied when the configuration file┆
0x1360…1380 20 69 73 20 72 65 72 65 61 64 2e 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45   ┆ is reread.  S S S SE E E EE E E┆
0x1380…13a0 08 45 20 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a   ┆ E A A A AL L L LS S S SO O O O ┆
0x13a0…13c0 20 20 20 20 20 53 79 73 74 65 6d 20 4d 61 6e 61 67 65 72 20 43 6f 6d 6d 61 6e 64 73 20 28 38 29   ┆     System Manager Commands (8)┆
0x13c0…13e0 3a 20 63 6f 6d 73 61 74 2c 20 66 74 70 64 2c 20 72 65 78 65 63 64 2c 20 72 6c 6f 67 69 6e 64 2c   ┆: comsat, ftpd, rexecd, rlogind,┆
0x13e0…1400 0a 20 20 20 20 20 72 73 68 64 2c 20 74 65 6c 6e 65 74 64 2c 20 74 66 74 70 64 0a 0a 44 65 63 65   ┆      rshd, telnetd, tftpd  Dece┆
0x1400…1420 6d 62 65 72 20 31 39 39 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54   ┆mber 1990                      T┆
0x1420…1440 58 20 53 79 73 74 65 6d 20 4d 61 6e 61 67 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a 0a   ┆X System Manager's Reference    ┆
0x1440…1453 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a                                          ┆                   ┆