home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Distributions / ucb / spencer_2bsd.tar.gz / 2bsd.tar / src / net / READ_ME < prev    next >
Encoding:
Text File  |  1980-02-17  |  2.7 KB  |  90 lines

  1. The code in this directory is the most up-to-date network source
  2. on the machine.
  3.  
  4. *** Pre-processor Flags ***
  5.  
  6. This set of code is controlled by this set of conditional
  7. compilation flags:
  8.  
  9. TESTING    if defined, do not generate tests, etc. which require
  10.     super-user status.
  11.  
  12. OLDTTY    if defined, compile for old 1 character TTY names
  13. CCTTY    if defined, compile for CC tty name format
  14.     if neither is defined, use v7 ttyname format
  15.  
  16. PASSWDF    compile in code to handle /etc/passwdf - split passwd files
  17.  
  18. OLDPROT    use the old protocol, instead of the new protocol
  19.  
  20. V7    use the v7 features
  21.  
  22. FUID    use the funny uid's present on Cory and CC
  23. ROPTION    The local machine mail program has the magic -r option
  24.  
  25. HPASSWD    The local machine has the hashed password stuff
  26.  
  27. SPACCT    under certain circumstances, allow remote login without acct
  28.  
  29. VAX    compile v7 code
  30. CORY    compile v6 code, generate OLDTTY code, etc.
  31. CC    compile v6 code, etc.
  32.  
  33.  
  34. At Berkeley, the conditonal flags are first defined
  35. in "whoami.h" on the local machine..
  36. They are VAX, CORY, A, C, D, E, SRC.
  37. These set up these correspondences:
  38. Flags                Implies
  39. VAX                V7, ROPTION
  40. CORY                PASSWDF, FUID, OLDTTY,HPASSWD,ROPTION
  41. A,C,D,E                CC, CCTTY, PASSWDF, FUID, SPACCT
  42. SRC                CC, OLDTTY, PASSWDF, FUID, SPACCT
  43. VANILLA                OLDTTY
  44.  
  45. For "normal" version 6 machines, there is a dummy machine
  46. definition for "VANILLA" which indicates the v6 UNIX options.
  47.  
  48. Here let's try to account for the machine differences:
  49.  
  50. 1) Cory has:
  51.     old 1-char tty format
  52.     /etc/passwdf
  53.     a mail command which takes the -r option
  54.     a different crypt
  55. 2) CC-A,CC-C,CC-D,CC-E have:
  56.     CC tty format
  57.     /etc/passwdf
  58.     an unimproved mail program
  59.     a different crypt
  60.     allow certain accounts to be accessed w/o passwd
  61. 3) SRC is like CC but:
  62.     has old 1-char tty format
  63.     /etc/passwdf ?
  64.     doesn't allow rlpr's w/o an account
  65.     uses the CC crypt
  66. 4) VAX:
  67.     the time system call is different
  68.     uid and gid are diff
  69.     a different crypt
  70.  
  71. *** Adding a new machine
  72.  
  73. To add another machine to the network, change these programs:
  74. The machine tables are all in config.h.
  75. 1. Change the path names in "Paths.h" and "nsh.c", and the makefile to suit.
  76. 2. Change "defs.h" to suit.
  77. 3. add in LOCALx section of config.h
  78.    the usual information about the machine interconnections
  79. 4. add the name of the machine to the machine
  80.    name table and its type to the machine type table
  81. 5. compile the network specifying the code type (CC, VAX, Cory, VANILLA)
  82.    and the machine type
  83.  
  84. *** Other files ***
  85. interact.c, listen.c -    manually send packets
  86. speeds.c, speedr.c -    send various length packets, use "time" to evaluate
  87. store.c, receive.c -    send a file (use for backup)
  88. nettest.c -        run daemons locally, using pipes instead of tty lines
  89. setmode.c -        set the mode on the tty line driver to "cat" things thru
  90.