DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ R

⟦5d7af1df6⟧

    Length: 5501 (0x157d)
    Names: »RSHD_DOC«

Derivation

└─⟦5f3412b64⟧ Bits:30000745 8mm tape, Rational 1000, ENVIRONMENT 12_6_5 TOOLS 
    └─ ⟦91c658230⟧ »DATA« 
        └─⟦458657fb6⟧ 
            └─⟦a5bbbb819⟧ 
                └─⟦this⟧ 
└─⟦8ee07855d⟧ Bits:30000545 8mm tape, Rational 1000, DTIA 2_1_6
    └─ ⟦0c25cb74a⟧ »DATA« 
        └─⟦0182c9918⟧ 
            └─⟦ed024cadb⟧ 
└─⟦d0624311f⟧ Bits:30000529 8mm tape, Rational 1000, DTIA 2_1_7
    └─ ⟦f494b5154⟧ »DATA« 
        └─⟦3ddce7122⟧ 
            └─⟦ed024cadb⟧ 
                └─⟦this⟧ 
└─⟦d10a02448⟧ Bits:30000409 8mm tape, Rational 1000, ENVIRONMENT, D_12_7_3
    └─ ⟦fc9b38f02⟧ »DATA« 
        └─⟦9b46a407a⟧ 
            └─⟦eec0a994f⟧ 
                └─⟦this⟧ 

Hex Dump

0x0000…0020 0a 0a 0a 52 53 48 44 28 38 43 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4d 41 49 4e 54 45 4e   ┆   RSHD(8C)              MAINTEN┆
0x0020…0040 41 4e 43 45 20 43 4f 4d 4d 41 4e 44 53 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 52 53 48 44   ┆ANCE COMMANDS               RSHD┆
0x0040…0060 28 38 43 29 0a 0a 0a 0a 4e 41 4d 45 0a 20 20 20 20 20 72 73 68 64 20 2d 20 72 65 6d 6f 74 65 20   ┆(8C)    NAME      rshd - remote ┆
0x0060…0080 73 68 65 6c 6c 20 73 65 72 76 65 72 0a 0a 53 59 4e 4f 50 53 49 53 0a 20 20 20 20 20 2f 65 74 63   ┆shell server  SYNOPSIS      /etc┆
0x0080…00a0 2f 69 6e 2e 72 73 68 64 20 68 6f 73 74 2e 70 6f 72 74 0a 0a 44 45 53 43 52 49 50 54 49 4f 4e 0a   ┆/in.rshd host.port  DESCRIPTION ┆
0x00a0…00c0 20 20 20 20 20 5f 08 52 5f 08 73 5f 08 68 5f 08 64 20 69 73 20 74 68 65 20 73 65 72 76 65 72 20   ┆     _ R_ s_ h_ d is the server ┆
0x00c0…00e0 66 6f 72 20 20 74 68 65 20 20 5f 08 72 5f 08 63 5f 08 6d 5f 08 64 28 33 4e 29 20 20 72 6f 75 74   ┆for  the  _ r_ c_ m_ d(3N)  rout┆
0x00e0…0100 69 6e 65 20 20 61 6e 64 2c 20 20 63 6f 6e 73 65 2d 0a 20 20 20 20 20 71 75 65 6e 74 6c 79 2c 20   ┆ine  and,  conse-      quently, ┆
0x0100…0120 20 66 6f 72 20 20 74 68 65 20 20 5f 08 72 5f 08 73 5f 08 68 28 31 43 29 20 20 70 72 6f 67 72 61   ┆ for  the  _ r_ s_ h(1C)  progra┆
0x0120…0140 6d 2e 20 20 20 54 68 65 20 20 73 65 72 76 65 72 20 70 72 6f 76 69 64 65 73 0a 20 20 20 20 20 72   ┆m.   The  server provides      r┆
0x0140…0160 65 6d 6f 74 65 20 65 78 65 63 75 74 69 6f 6e 20 66 61 63 69 6c 69 74 69 65 73 20 20 77 69 74 68   ┆emote execution facilities  with┆
0x0160…0180 20 20 61 75 74 68 65 6e 74 69 63 61 74 69 6f 6e 20 20 62 61 73 65 64 20 20 6f 6e 0a 20 20 20 20   ┆  authentication  based  on     ┆
0x0180…01a0 20 70 72 69 76 69 6c 65 67 65 64 20 70 6f 72 74 20 6e 75 6d 62 65 72 73 2e 0a 0a 20 20 20 20 20   ┆ privileged port numbers.       ┆
0x01a0…01c0 5f 08 52 5f 08 73 5f 08 68 5f 08 64 20 69 73 20 69 6e 76 6f 6b 65 64 20 62 79 20 5f 08 69 5f 08   ┆_ R_ s_ h_ d is invoked by _ i_ ┆
0x01c0…01e0 6e 5f 08 65 5f 08 74 5f 08 64 28 38 43 29 20 65 61 63 68 20 74 69 6d 65 20 61 20 20 73 68 65 6c   ┆n_ e_ t_ d(8C) each time a  shel┆
0x01e0…0200 6c 20 20 73 65 72 76 69 63 65 20 20 69 73 0a 20 20 20 20 20 72 65 71 75 65 73 74 65 64 2c 20 61   ┆l  service  is      requested, a┆
0x0200…0220 6e 64 20 65 78 65 63 75 74 65 73 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 70 72 6f 74 6f 63   ┆nd executes the following protoc┆
0x0220…0240 6f 6c 3a 0a 0a 20 20 20 20 20 31 29 20 20 20 54 68 65 20 73 65 72 76 65 72 20 63 68 65 63 6b 73   ┆ol:       1)   The server checks┆
0x0240…0260 20 74 68 65 20 63 6c 69 65 6e 74 27 73 20 20 73 6f 75 72 63 65 20 20 70 6f 72 74 2e 20 20 20 49   ┆ the client's  source  port.   I┆
0x0260…0280 66 20 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 70 6f 72 74 20 20 69 73 20 6e 6f 74 20 69 6e   ┆f  the           port  is not in┆
0x0280…02a0 20 74 68 65 20 72 61 6e 67 65 20 30 2d 31 30 32 33 2c 20 74 68 65 20 73 65 72 76 65 72 20 61 62   ┆ the range 0-1023, the server ab┆
0x02a0…02c0 6f 72 74 73 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 63 6f 6e 6e 65 63 74 69 6f 6e 2e 20 20   ┆orts the           connection.  ┆
0x02c0…02e0 54 68 65 20 63 6c 69 65 6e 74 73 20 68 6f 73 74 20 61 64 64 72 65 73 73 20 28 69 6e 20 68 65 78   ┆The clients host address (in hex┆
0x02e0…0300 29 20 61 6e 64 20 70 6f 72 74 0a 20 20 20 20 20 20 20 20 20 20 6e 75 6d 62 65 72 20 28 69 6e 20   ┆) and port           number (in ┆
0x0300…0320 64 65 63 69 6d 61 6c 29 20 61 72 65 20 74 68 65 20 61 72 67 75 6d 65 6e 74 20 70 61 73 73 65 64   ┆decimal) are the argument passed┆
0x0320…0340 20 74 6f 20 5f 08 72 5f 08 73 5f 08 68 5f 08 64 2e 0a 0a 20 20 20 20 20 32 29 20 20 20 54 68 65   ┆ to _ r_ s_ h_ d.       2)   The┆
0x0340…0360 20 73 65 72 76 65 72 20 72 65 61 64 73 20 63 68 61 72 61 63 74 65 72 73 20 66 72 6f 6d 20 74 68   ┆ server reads characters from th┆
0x0360…0380 65 20 20 73 6f 63 6b 65 74 20 20 75 70 20 20 74 6f 20 20 61 0a 20 20 20 20 20 20 20 20 20 20 6e   ┆e  socket  up  to  a           n┆
0x0380…03a0 75 6c 6c 20 20 28 60 5c 30 27 29 20 62 79 74 65 2e 20 20 54 68 65 20 72 65 73 75 6c 74 61 6e 74   ┆ull  (`\0') byte.  The resultant┆
0x03a0…03c0 20 73 74 72 69 6e 67 20 69 73 20 69 6e 74 65 72 70 72 65 74 65 64 0a 20 20 20 20 20 20 20 20 20   ┆ string is interpreted          ┆
0x03c0…03e0 20 61 73 20 61 6e 20 41 53 43 49 49 20 6e 75 6d 62 65 72 2c 20 62 61 73 65 20 31 30 2e 0a 0a 20   ┆ as an ASCII number, base 10.   ┆
0x03e0…0400 20 20 20 20 33 29 20 20 20 49 66 20 74 68 65 20 6e 75 6d 62 65 72 20 72 65 63 65 69 76 65 64 20   ┆    3)   If the number received ┆
0x0400…0420 69 6e 20 73 74 65 70 20 31 20 20 69 73 20 20 6e 6f 6e 2d 7a 65 72 6f 2c 20 20 69 74 20 20 69 73   ┆in step 1  is  non-zero,  it  is┆
0x0420…0440 0a 20 20 20 20 20 20 20 20 20 20 69 6e 74 65 72 70 72 65 74 65 64 20 61 73 20 74 68 65 20 70 6f   ┆           interpreted as the po┆
0x0440…0460 72 74 20 6e 75 6d 62 65 72 20 6f 66 20 61 20 73 65 63 6f 6e 64 61 72 79 20 73 74 72 65 61 6d 20   ┆rt number of a secondary stream ┆
0x0460…0480 74 6f 0a 20 20 20 20 20 20 20 20 20 20 62 65 20 75 73 65 64 20 66 6f 72 20 74 68 65 20 73 74 64   ┆to           be used for the std┆
0x0480…04a0 65 72 72 2e 20 20 41 20 73 65 63 6f 6e 64 20 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 20 69 73 20 20   ┆err.  A second  connection  is  ┆
0x04a0…04c0 74 68 65 6e 0a 20 20 20 20 20 20 20 20 20 20 63 72 65 61 74 65 64 20 20 74 6f 20 74 68 65 20 73   ┆then           created  to the s┆
0x04c0…04e0 70 65 63 69 66 69 65 64 20 70 6f 72 74 20 6f 6e 20 74 68 65 20 63 6c 69 65 6e 74 27 73 20 6d 61   ┆pecified port on the client's ma┆
0x04e0…0500 63 68 69 6e 65 2e 0a 20 20 20 20 20 20 20 20 20 20 54 68 65 20 73 6f 75 72 63 65 20 70 6f 72 74   ┆chine.           The source port┆
0x0500…0520 20 6f 66 20 74 68 69 73 20 73 65 63 6f 6e 64 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 20 69 73 20 20   ┆ of this second connection  is  ┆
0x0520…0540 61 6c 73 6f 20 20 69 6e 0a 20 20 20 20 20 20 20 20 20 20 74 68 65 20 72 61 6e 67 65 20 30 2d 31   ┆also  in           the range 0-1┆
0x0540…0560 30 32 33 2e 0a 0a 20 20 20 20 20 34 29 20 20 20 54 68 65 20 73 65 72 76 65 72 20 63 68 65 63 6b   ┆023.       4)   The server check┆
0x0560…0580 73 20 74 68 65 20 63 6c 69 65 6e 74 27 73 20 73 6f 75 72 63 65 20 61 64 64 72 65 73 73 2e 20 20   ┆s the client's source address.  ┆
0x0580…05a0 49 66 20 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 61 64 64 72 65 73 73 20 20 20 69 73 20 20   ┆If  the           address   is  ┆
0x05a0…05c0 61 73 73 6f 63 69 61 74 65 64 20 20 77 69 74 68 20 20 61 20 20 68 6f 73 74 20 20 66 6f 72 20 20   ┆associated  with  a  host  for  ┆
0x05c0…05e0 77 68 69 63 68 20 20 6e 6f 0a 20 20 20 20 20 20 20 20 20 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e   ┆which  no           correspondin┆
0x05e0…0600 67 20 65 6e 74 72 79 20 65 78 69 73 74 73 20 69 6e 20 74 68 65 20 68 6f 73 74 20 6e 61 6d 65 20   ┆g entry exists in the host name ┆
0x0600…0620 20 64 61 74 61 20 20 62 61 73 65 0a 20 20 20 20 20 20 20 20 20 20 28 73 65 65 20 5f 08 68 5f 08   ┆ data  base           (see _ h_ ┆
0x0620…0640 6f 5f 08 73 5f 08 74 5f 08 73 28 35 29 29 2c 20 74 68 65 20 73 65 72 76 65 72 20 61 62 6f 72 74   ┆o_ s_ t_ s(5)), the server abort┆
0x0640…0660 73 20 74 68 65 20 63 6f 6e 6e 65 63 74 69 6f 6e 2e 0a 0a 20 20 20 20 20 35 29 20 20 20 41 20 6e   ┆s the connection.       5)   A n┆
0x0660…0680 75 6c 6c 20 74 65 72 6d 69 6e 61 74 65 64 20 75 73 65 72 20 6e 61 6d 65 20 6f 66 20 61 74 20 6d   ┆ull terminated user name of at m┆
0x0680…06a0 6f 73 74 20 31 36 20 63 68 61 72 61 63 74 65 72 73 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 72   ┆ost 16 characters is           r┆
0x06a0…06c0 65 74 72 69 65 76 65 64 20 20 6f 6e 20 20 74 68 65 20 20 69 6e 69 74 69 61 6c 20 20 73 6f 63 6b   ┆etrieved  on  the  initial  sock┆
0x06c0…06e0 65 74 2e 20 20 54 68 69 73 20 75 73 65 72 20 6e 61 6d 65 20 69 73 0a 20 20 20 20 20 20 20 20 20   ┆et.  This user name is          ┆
0x06e0…0700 20 69 6e 74 65 72 70 72 65 74 65 64 20 61 73 20 61 20 75 73 65 72 20 69 64 65 6e 74 69 74 79 20   ┆ interpreted as a user identity ┆
0x0700…0720 74 6f 20 75 73 65 20 6f 6e 20 20 74 68 65 20 20 73 65 72 76 65 72 27 73 0a 20 20 20 20 20 20 20   ┆to use on  the  server's        ┆
0x0720…0740 20 20 20 6d 61 63 68 69 6e 65 2e 0a 0a 20 20 20 20 20 36 29 20 20 20 41 20 6e 75 6c 6c 20 74 65   ┆   machine.       6)   A null te┆
0x0740…0760 72 6d 69 6e 61 74 65 64 20 75 73 65 72 20 6e 61 6d 65 20 6f 66 20 61 74 20 6d 6f 73 74 20 31 36   ┆rminated user name of at most 16┆
0x0760…0780 20 63 68 61 72 61 63 74 65 72 73 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 72 69 65 76   ┆ characters is           retriev┆
0x0780…07a0 65 64 20 20 6f 6e 20 20 74 68 65 20 20 69 6e 69 74 69 61 6c 20 20 73 6f 63 6b 65 74 2e 20 20 54   ┆ed  on  the  initial  socket.  T┆
0x07a0…07c0 68 69 73 20 75 73 65 72 20 6e 61 6d 65 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 69 6e 74 65 72   ┆his user name is           inter┆
0x07c0…07e0 70 72 65 74 65 64 20 20 61 73 20 20 74 68 65 20 20 75 73 65 72 20 20 69 64 65 6e 74 69 74 79 20   ┆preted  as  the  user  identity ┆
0x07e0…0800 20 6f 6e 20 20 74 68 65 20 20 63 6c 69 65 6e 74 27 73 0a 20 20 20 20 20 20 20 20 20 20 6d 61 63   ┆ on  the  client's           mac┆
0x0800…0820 68 69 6e 65 2e 0a 0a 20 20 20 20 20 37 29 20 20 20 41 20 6e 75 6c 6c 20 74 65 72 6d 69 6e 61 74   ┆hine.       7)   A null terminat┆
0x0820…0840 65 64 20 63 6f 6d 6d 61 6e 64 20 74 6f 20 62 65 20 70 61 73 73 65 64 20 74 6f 20 20 61 20 20 73   ┆ed command to be passed to  a  s┆
0x0840…0860 68 65 6c 6c 20 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 72 69 65 76 65 64 20 20 6f 6e   ┆hell  is           retrieved  on┆
0x0860…0880 20 20 74 68 65 20 20 69 6e 69 74 69 61 6c 20 20 73 6f 63 6b 65 74 2e 20 20 54 68 65 20 6c 65 6e   ┆  the  initial  socket.  The len┆
0x0880…08a0 67 74 68 20 6f 66 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 63 6f 6d 6d 61 6e 64 20 69 73 20   ┆gth of the           command is ┆
0x08a0…08c0 6c 69 6d 69 74 65 64 20 62 79 20 74 68 65 20 75 70 70 65 72 20 62 6f 75 6e 64 20 6f 6e 20 20 74   ┆limited by the upper bound on  t┆
0x08c0…08e0 68 65 20 20 73 69 7a 65 20 20 6f 66 0a 20 20 20 20 20 20 20 20 20 20 74 68 65 20 73 79 73 74 65   ┆he  size  of           the syste┆
0x08e0…0900 6d 27 73 20 61 72 67 75 6d 65 6e 74 20 6c 69 73 74 2e 0a 0a 20 20 20 20 20 38 29 20 20 20 5f 08   ┆m's argument list.       8)   _ ┆
0x0900…0920 52 5f 08 73 5f 08 68 5f 08 64 20 74 68 65 6e 20 76 61 6c 69 64 61 74 65 73 20 74 68 65 20 75 73   ┆R_ s_ h_ d then validates the us┆
0x0920…0940 65 72 20 61 63 63 6f 72 64 69 6e 67 20 74 6f 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 0a 0a 0a   ┆er according to the following   ┆
0x0940…0960 0a 53 75 6e 20 52 65 6c 65 61 73 65 20 33 2e 35 20 20 20 20 4c 61 73 74 20 63 68 61 6e 67 65 3a   ┆ Sun Release 3.5    Last change:┆
0x0960…0980 20 33 20 4a 61 6e 75 61 72 79 20 31 39 38 34 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆ 3 January 1984                 ┆
0x0980…09a0 20 31 0a 0a 0a 0a 0a 0a 0a 52 53 48 44 28 38 43 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4d   ┆ 1       RSHD(8C)              M┆
0x09a0…09c0 41 49 4e 54 45 4e 41 4e 43 45 20 43 4f 4d 4d 41 4e 44 53 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆AINTENANCE COMMANDS             ┆
0x09c0…09e0 20 20 52 53 48 44 28 38 43 29 0a 0a 0a 0a 20 20 20 20 20 20 20 20 20 20 73 74 65 70 73 2e 20 20   ┆  RSHD(8C)              steps.  ┆
0x09e0…0a00 20 54 68 65 20 72 65 6d 6f 74 65 20 75 73 65 72 20 6e 61 6d 65 20 69 73 20 6c 6f 6f 6b 65 64 20   ┆ The remote user name is looked ┆
0x0a00…0a20 75 70 20 69 6e 20 74 68 65 20 70 61 73 73 2d 0a 20 20 20 20 20 20 20 20 20 20 77 6f 72 64 20 66   ┆up in the pass-           word f┆
0x0a20…0a40 69 6c 65 20 61 6e 64 20 61 20 5f 08 63 5f 08 68 5f 08 64 5f 08 69 5f 08 72 20 69 73 20 70 65 72   ┆ile and a _ c_ h_ d_ i_ r is per┆
0x0a40…0a60 66 6f 72 6d 65 64 20 74 6f 20 74 68 65 20 20 75 73 65 72 27 73 20 20 68 6f 6d 65 0a 20 20 20 20   ┆formed to the  user's  home     ┆
0x0a60…0a80 20 20 20 20 20 20 64 69 72 65 63 74 6f 72 79 2e 20 20 20 49 66 20 20 74 68 65 20 6c 6f 6f 6b 75   ┆      directory.   If  the looku┆
0x0a80…0aa0 70 20 6f 72 20 66 61 69 6c 73 2c 20 74 68 65 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 69 73 0a 20 20   ┆p or fails, the connection is   ┆
0x0aa0…0ac0 20 20 20 20 20 20 20 20 74 65 72 6d 69 6e 61 74 65 64 2e 20 20 49 66 20 74 68 65 20 5f 08 63 5f   ┆        terminated.  If the _ c_┆
0x0ac0…0ae0 08 68 5f 08 64 5f 08 69 5f 08 72 20 66 61 69 6c 73 2c 20 69 74 20 64 6f 65 73 20 61 20 5f 08 63   ┆ h_ d_ i_ r fails, it does a _ c┆
0x0ae0…0b00 5f 08 68 5f 08 64 5f 08 69 5f 08 72 20 20 5f 08 74 5f 08 6f 20 20 2f 0a 20 20 20 20 20 20 20 20   ┆_ h_ d_ i_ r  _ t_ o  /         ┆
0x0b00…0b20 20 20 28 72 6f 6f 74 29 2e 20 20 20 49 66 20 20 74 68 65 20 20 75 73 65 72 20 69 73 20 6e 6f 74   ┆  (root).   If  the  user is not┆
0x0b20…0b40 20 74 68 65 20 73 75 70 65 72 2d 75 73 65 72 2c 20 28 75 73 65 72 20 69 64 0a 20 20 20 20 20 20   ┆ the super-user, (user id       ┆
0x0b40…0b60 20 20 20 20 30 29 2c 20 74 68 65 20 66 69 6c 65 20 2f 5f 08 65 5f 08 74 5f 08 63 2f 5f 08 68 5f   ┆    0), the file /_ e_ t_ c/_ h_┆
0x0b60…0b80 08 6f 5f 08 73 5f 08 74 5f 08 73 2e 5f 08 65 5f 08 71 5f 08 75 5f 08 69 5f 08 76 20 69 73 20 63   ┆ o_ s_ t_ s._ e_ q_ u_ i_ v is c┆
0x0b80…0ba0 6f 6e 73 75 6c 74 65 64 20 66 6f 72 20 20 61 20 20 6c 69 73 74 0a 20 20 20 20 20 20 20 20 20 20   ┆onsulted for  a  list           ┆
0x0ba0…0bc0 6f 66 20 20 68 6f 73 74 73 20 20 63 6f 6e 73 69 64 65 72 65 64 20 20 60 60 65 71 75 69 76 61 6c   ┆of  hosts  considered  ``equival┆
0x0bc0…0be0 65 6e 74 27 27 2e 20 20 49 66 20 74 68 65 20 63 6c 69 65 6e 74 27 73 0a 20 20 20 20 20 20 20 20   ┆ent''.  If the client's         ┆
0x0be0…0c00 20 20 68 6f 73 74 20 6e 61 6d 65 20 69 73 20 70 72 65 73 65 6e 74 20 69 6e 20 74 68 69 73 20 66   ┆  host name is present in this f┆
0x0c00…0c20 69 6c 65 2c 20 20 74 68 65 20 20 61 75 74 68 65 6e 74 69 63 61 74 69 6f 6e 0a 20 20 20 20 20 20   ┆ile,  the  authentication       ┆
0x0c20…0c40 20 20 20 20 69 73 20 20 63 6f 6e 73 69 64 65 72 65 64 20 73 75 63 63 65 73 73 66 75 6c 2e 20 20   ┆    is  considered successful.  ┆
0x0c40…0c60 49 66 20 74 68 65 20 6c 6f 6f 6b 75 70 20 66 61 69 6c 73 2c 20 6f 72 20 74 68 65 0a 20 20 20 20   ┆If the lookup fails, or the     ┆
0x0c60…0c80 20 20 20 20 20 20 75 73 65 72 20 69 73 20 74 68 65 20 73 75 70 65 72 2d 75 73 65 72 2c 20 74 68   ┆      user is the super-user, th┆
0x0c80…0ca0 65 6e 20 74 68 65 20 66 69 6c 65 20 20 2e 5f 08 72 5f 08 68 5f 08 6f 5f 08 73 5f 08 74 5f 08 73   ┆en the file  ._ r_ h_ o_ s_ t_ s┆
0x0ca0…0cc0 20 20 69 6e 20 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 68 6f 6d 65 20 20 64 69 72 65 63 74   ┆  in  the           home  direct┆
0x0cc0…0ce0 6f 72 79 20 20 6f 66 20 20 74 68 65 20 72 65 6d 6f 74 65 20 75 73 65 72 20 69 73 20 63 68 65 63   ┆ory  of  the remote user is chec┆
0x0ce0…0d00 6b 65 64 20 66 6f 72 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 6d 61 63 68 69 6e 65 20 6e 61   ┆ked for the           machine na┆
0x0d00…0d20 6d 65 20 61 6e 64 20 69 64 65 6e 74 69 74 79 20 6f 66 20 74 68 65 20 75 73 65 72 20 6f 6e 20 20   ┆me and identity of the user on  ┆
0x0d20…0d40 74 68 65 20 20 63 6c 69 65 6e 74 27 73 0a 20 20 20 20 20 20 20 20 20 20 6d 61 63 68 69 6e 65 2e   ┆the  client's           machine.┆
0x0d40…0d60 20 20 20 49 66 20 74 68 69 73 20 6c 6f 6f 6b 75 70 20 66 61 69 6c 73 2c 20 74 68 65 20 63 6f 6e   ┆   If this lookup fails, the con┆
0x0d60…0d80 6e 65 63 74 69 6f 6e 20 69 73 20 74 65 72 2d 0a 20 20 20 20 20 20 20 20 20 20 6d 69 6e 61 74 65   ┆nection is ter-           minate┆
0x0d80…0da0 64 2e 0a 0a 20 20 20 20 20 39 29 20 20 20 41 20 6e 75 6c 6c 20 62 79 74 65 20 69 73 20 72 65 74   ┆d.       9)   A null byte is ret┆
0x0da0…0dc0 75 72 6e 65 64 20 6f 6e 20 20 74 68 65 20 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 20 61 73 73 6f 63   ┆urned on  the  connection  assoc┆
0x0dc0…0de0 69 61 74 65 64 0a 20 20 20 20 20 20 20 20 20 20 77 69 74 68 20 20 74 68 65 20 20 73 74 64 65 72   ┆iated           with  the  stder┆
0x0de0…0e00 72 20 61 6e 64 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 6c 69 6e 65 20 69 73 20 70 61 73 73 65 64   ┆r and the command line is passed┆
0x0e00…0e20 20 74 6f 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 6e 6f 72 6d 61 6c 20 6c 6f 67 69 6e 20 73   ┆ to the           normal login s┆
0x0e20…0e40 68 65 6c 6c 20 6f 66 20 74 68 65 20 75 73 65 72 2e 20 20 54 68 65 20 73 68 65 6c 6c 20 69 6e 68   ┆hell of the user.  The shell inh┆
0x0e40…0e60 65 72 69 74 73 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 6e 65 74 77 6f 72 6b 20 63 6f 6e 6e   ┆erits the           network conn┆
0x0e60…0e80 65 63 74 69 6f 6e 73 20 65 73 74 61 62 6c 69 73 68 65 64 20 62 79 20 5f 08 72 5f 08 73 5f 08 68   ┆ections established by _ r_ s_ h┆
0x0e80…0ea0 5f 08 64 2e 0a 0a 44 49 41 47 4e 4f 53 54 49 43 53 0a 20 20 20 20 20 41 6c 6c 20 64 69 61 67 6e   ┆_ d.  DIAGNOSTICS      All diagn┆
0x0ea0…0ec0 6f 73 74 69 63 20 6d 65 73 73 61 67 65 73 20 61 72 65 20 72 65 74 75 72 6e 65 64 20 6f 6e 20 74   ┆ostic messages are returned on t┆
0x0ec0…0ee0 68 65 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 61 73 73 6f 2d 0a 20 20 20 20 20 63 69 61 74 65 64 20   ┆he connection asso-      ciated ┆
0x0ee0…0f00 20 77 69 74 68 20 74 68 65 20 73 74 64 65 72 72 2c 20 61 66 74 65 72 20 77 68 69 63 68 20 61 6e   ┆ with the stderr, after which an┆
0x0f00…0f20 79 20 6e 65 74 77 6f 72 6b 20 63 6f 6e 6e 65 63 74 69 6f 6e 73 0a 20 20 20 20 20 61 72 65 20 63   ┆y network connections      are c┆
0x0f20…0f40 6c 6f 73 65 64 2e 20 20 41 6e 20 65 72 72 6f 72 20 69 73 20 69 6e 64 69 63 61 74 65 64 20 62 79   ┆losed.  An error is indicated by┆
0x0f40…0f60 20 61 20 6c 65 61 64 69 6e 67 20 62 79 74 65 20 77 69 74 68 20 20 61 0a 20 20 20 20 20 76 61 6c   ┆ a leading byte with  a      val┆
0x0f60…0f80 75 65 20 20 6f 66 20 20 31 20 20 28 30 20 69 73 20 72 65 74 75 72 6e 65 64 20 69 6e 20 73 74 65   ┆ue  of  1  (0 is returned in ste┆
0x0f80…0fa0 70 20 39 20 61 62 6f 76 65 20 75 70 6f 6e 20 73 75 63 63 65 73 73 66 75 6c 0a 20 20 20 20 20 63   ┆p 9 above upon successful      c┆
0x0fa0…0fc0 6f 6d 70 6c 65 74 69 6f 6e 20 6f 66 20 61 6c 6c 20 74 68 65 20 73 74 65 70 73 20 70 72 69 6f 72   ┆ompletion of all the steps prior┆
0x0fc0…0fe0 20 74 6f 20 74 68 65 20 63 6f 6d 6d 61 6e 64 20 65 78 65 63 75 74 69 6f 6e 29 2e 0a 0a 20 20 20   ┆ to the command execution).     ┆
0x0fe0…1000 20 20 60 60 6c 6f 63 75 73 65 72 20 74 6f 6f 20 6c 6f 6e 67 27 27 0a 20 20 20 20 20 54 68 65 20   ┆  ``locuser too long''      The ┆
0x1000…1020 6e 61 6d 65 20 6f 66 20 74 68 65 20 75 73 65 72 20 6f 6e 20 74 68 65 20 63 6c 69 65 6e 74 27 73   ┆name of the user on the client's┆
0x1020…1040 20 6d 61 63 68 69 6e 65 20 69 73 20 6c 6f 6e 67 65 72 20 20 74 68 61 6e 0a 20 20 20 20 20 31 36   ┆ machine is longer  than      16┆
0x1040…1060 20 63 68 61 72 61 63 74 65 72 73 2e 0a 0a 20 20 20 20 20 60 60 72 65 6d 75 73 65 72 20 74 6f 6f   ┆ characters.       ``remuser too┆
0x1060…1080 20 6c 6f 6e 67 27 27 0a 20 20 20 20 20 54 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 75 73 65   ┆ long''      The name of the use┆
0x1080…10a0 72 20 6f 6e 20 74 68 65 20 72 65 6d 6f 74 65 20 6d 61 63 68 69 6e 65 20 69 73 20 6c 6f 6e 67 65   ┆r on the remote machine is longe┆
0x10a0…10c0 72 20 74 68 61 6e 20 31 36 0a 20 20 20 20 20 63 68 61 72 61 63 74 65 72 73 2e 0a 0a 20 20 20 20   ┆r than 16      characters.      ┆
0x10c0…10e0 20 60 60 63 6f 6d 6d 61 6e 64 20 74 6f 6f 20 6c 6f 6e 67 20 27 27 0a 20 20 20 20 20 54 68 65 20   ┆ ``command too long ''      The ┆
0x10e0…1100 63 6f 6d 6d 61 6e 64 20 6c 69 6e 65 20 70 61 73 73 65 64 20 65 78 63 65 65 64 73 20 74 68 65 20   ┆command line passed exceeds the ┆
0x1100…1120 20 73 69 7a 65 20 20 6f 66 20 20 74 68 65 20 20 61 72 67 75 6d 65 6e 74 0a 20 20 20 20 20 6c 69   ┆ size  of  the  argument      li┆
0x1120…1140 73 74 20 28 61 73 20 63 6f 6e 66 69 67 75 72 65 64 20 69 6e 74 6f 20 74 68 65 20 73 79 73 74 65   ┆st (as configured into the syste┆
0x1140…1160 6d 29 2e 0a 0a 20 20 20 20 20 60 60 48 6f 73 74 6e 61 6d 65 20 66 6f 72 20 79 6f 75 72 20 61 64   ┆m).       ``Hostname for your ad┆
0x1160…1180 64 72 65 73 73 20 75 6e 6b 6e 6f 77 6e 2e 27 27 0a 20 20 20 20 20 4e 6f 20 65 6e 74 72 79 20 69   ┆dress unknown.''      No entry i┆
0x1180…11a0 6e 20 74 68 65 20 68 6f 73 74 20 6e 61 6d 65 20 64 61 74 61 62 61 73 65 20 65 78 69 73 74 65 64   ┆n the host name database existed┆
0x11a0…11c0 20 66 6f 72 20 74 68 65 20 20 63 6c 69 65 6e 74 27 73 0a 20 20 20 20 20 6d 61 63 68 69 6e 65 2e   ┆ for the  client's      machine.┆
0x11c0…11e0 0a 0a 20 20 20 20 20 60 60 4c 6f 67 69 6e 20 69 6e 63 6f 72 72 65 63 74 2e 27 27 0a 20 20 20 20   ┆       ``Login incorrect.''     ┆
0x11e0…1200 20 4e 6f 20 70 61 73 73 77 6f 72 64 20 66 69 6c 65 20 65 6e 74 72 79 20 66 6f 72 20 74 68 65 20   ┆ No password file entry for the ┆
0x1200…1220 75 73 65 72 20 6e 61 6d 65 20 65 78 69 73 74 65 64 2e 0a 0a 20 20 20 20 20 60 60 50 65 72 6d 69   ┆user name existed.       ``Permi┆
0x1220…1240 73 73 69 6f 6e 20 64 65 6e 69 65 64 2e 27 27 0a 20 20 20 20 20 54 68 65 20 61 75 74 68 65 6e 74   ┆ssion denied.''      The authent┆
0x1240…1260 69 63 61 74 69 6f 6e 20 70 72 6f 63 65 64 75 72 65 20 64 65 73 63 72 69 62 65 64 20 61 62 6f 76   ┆ication procedure described abov┆
0x1260…1280 65 20 66 61 69 6c 65 64 2e 0a 0a 20 20 20 20 20 60 60 43 61 6e 27 74 20 6d 61 6b 65 20 70 69 70   ┆e failed.       ``Can't make pip┆
0x1280…12a0 65 2e 27 27 0a 20 20 20 20 20 54 68 65 20 70 69 70 65 20 6e 65 65 64 65 64 20 66 6f 72 20 74 68   ┆e.''      The pipe needed for th┆
0x12a0…12c0 65 20 73 74 64 65 72 72 2c 20 77 61 73 6e 27 74 20 63 72 65 61 74 65 64 2e 0a 0a 0a 0a 0a 53 75   ┆e stderr, wasn't created.     Su┆
0x12c0…12e0 6e 20 52 65 6c 65 61 73 65 20 33 2e 35 20 20 20 20 4c 61 73 74 20 63 68 61 6e 67 65 3a 20 33 20   ┆n Release 3.5    Last change: 3 ┆
0x12e0…1300 4a 61 6e 75 61 72 79 20 31 39 38 34 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 32 0a   ┆January 1984                  2 ┆
0x1300…1320 0a 0a 0a 0a 0a 0a 52 53 48 44 28 38 43 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4d 41 49 4e   ┆      RSHD(8C)              MAIN┆
0x1320…1340 54 45 4e 41 4e 43 45 20 43 4f 4d 4d 41 4e 44 53 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 52   ┆TENANCE COMMANDS               R┆
0x1340…1360 53 48 44 28 38 43 29 0a 0a 0a 0a 20 20 20 20 20 60 60 54 72 79 20 61 67 61 69 6e 2e 27 27 0a 20   ┆SHD(8C)         ``Try again.''  ┆
0x1360…1380 20 20 20 20 41 20 5f 08 66 5f 08 6f 5f 08 72 5f 08 6b 20 62 79 20 74 68 65 20 73 65 72 76 65 72   ┆    A _ f_ o_ r_ k by the server┆
0x1380…13a0 20 66 61 69 6c 65 64 2e 0a 0a 20 20 20 20 20 60 60 2f 62 69 6e 2f 73 68 3a 20 2e 2e 2e 27 27 0a   ┆ failed.       ``/bin/sh: ...'' ┆
0x13a0…13c0 20 20 20 20 20 54 68 65 20 75 73 65 72 27 73 20 6c 6f 67 69 6e 20 73 68 65 6c 6c 20 63 6f 75 6c   ┆     The user's login shell coul┆
0x13c0…13e0 64 20 6e 6f 74 20 62 65 20 73 74 61 72 74 65 64 2e 0a 0a 53 45 45 20 41 4c 53 4f 0a 20 20 20 20   ┆d not be started.  SEE ALSO     ┆
0x13e0…1400 20 72 73 68 28 31 43 29 2c 20 72 63 6d 64 28 33 4e 29 0a 0a 42 55 47 53 0a 20 20 20 20 20 54 68   ┆ rsh(1C), rcmd(3N)  BUGS      Th┆
0x1400…1420 65 20 61 75 74 68 65 6e 74 69 63 61 74 69 6f 6e 20 70 72 6f 63 65 64 75 72 65 20 75 73 65 64 20   ┆e authentication procedure used ┆
0x1420…1440 68 65 72 65 20 61 73 73 75 6d 65 73 20 74 68 65 20 69 6e 74 65 67 72 69 74 79 0a 20 20 20 20 20   ┆here assumes the integrity      ┆
0x1440…1460 6f 66 20 20 65 61 63 68 20 20 63 6c 69 65 6e 74 20 6d 61 63 68 69 6e 65 20 61 6e 64 20 74 68 65   ┆of  each  client machine and the┆
0x1460…1480 20 63 6f 6e 6e 65 63 74 69 6e 67 20 6d 65 64 69 75 6d 2e 20 20 54 68 69 73 20 69 73 0a 20 20 20   ┆ connecting medium.  This is    ┆
0x1480…14a0 20 20 69 6e 73 65 63 75 72 65 2c 20 62 75 74 20 69 73 20 75 73 65 66 75 6c 20 69 6e 20 61 6e 20   ┆  insecure, but is useful in an ┆
0x14a0…14c0 60 60 6f 70 65 6e 27 27 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 2e 0a 0a 20 20 20 20 20 41 20 66 61   ┆``open'' environment.       A fa┆
0x14c0…14e0 63 69 6c 69 74 79 20 74 6f 20 61 6c 6c 6f 77 20 20 61 6c 6c 20 20 64 61 74 61 20 20 65 78 63 68   ┆cility to allow  all  data  exch┆
0x14e0…1500 61 6e 67 65 73 20 20 74 6f 20 20 62 65 20 20 65 6e 63 72 79 70 74 65 64 0a 20 20 20 20 20 73 68   ┆anges  to  be  encrypted      sh┆
0x1500…1520 6f 75 6c 64 20 62 65 20 70 72 65 73 65 6e 74 2e 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a   ┆ould be present.                ┆
0x1520…1540 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 53 75 6e 20 52 65 6c 65   ┆                        Sun Rele┆
0x1540…1560 61 73 65 20 33 2e 35 20 20 20 20 4c 61 73 74 20 63 68 61 6e 67 65 3a 20 33 20 4a 61 6e 75 61 72   ┆ase 3.5    Last change: 3 Januar┆
0x1560…157d 79 20 31 39 38 34 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 33 0a 0a 0a 0a   ┆y 1984                  3    ┆