home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / pdp11 / k11tol.pat < prev    next >
Text File  |  2020-01-01  |  3KB  |  81 lines

  1. !    RSTS/E Kermit optional patches
  2. !
  3. !    Brian Nelson  30-Mar-84  09:47:07
  4. !
  5. !
  6. !     Example of patching RSTS/E Kermit to disable commands based
  7. !    on user programmer  number.  The  effect  of  the  following
  8. !    patches  is  to  disallow  any user with a programmer number
  9. !    greater than  127  (ie,  100,221)  to  access  the  commands
  10. !    DELETE  ,DIRECTORY,  ERASE  and RENAME. If you would like to
  11. !    do this based  on  project  number  instead  you  can  patch
  12. !    either  ...UIC+0  to  be  the  high  cutoff point instead of
  13. !    patching ...UIC+2, or you can use different project  numbers
  14. !    for  each  command by changing the '377' (which is in octal)
  15. !    to the desired cutoff point. To restict access  to  the  DIR
  16. !    command  to  users  with  a project (group) number less than
  17. !    (10,*), you would patch ..$DIR byte offset zero  from  0  to
  18. !    10.  (the  '.'  is  needed  to force ONLPAT to use a decimal
  19. !    interpretation of the number. 
  20. !
  21. !     At this  time the only other thing you may want to patch is
  22. !    location ..DIRP offset  zero, which  is by  default 1.  This
  23. !    value is checked  against  the user's project  number by the
  24. !    DIRECTORY command.  If the user's project  number is greater
  25. !    than  this number,  the ppn (uic) field  for the DIR command
  26. !    is zeroed,  thus  preventing that  user from looking  at the
  27. !    directory listing  of ANY other  account.  The default is to
  28. !    restrict the use  of ppn's for this  command to  [1,*] users
  29. !    only.  The last patch here changes that to include [2,*].
  30. !
  31. !
  32. ! Keep user's with programmer numbers > 127 from using DIR, DEL, REN and ERA.
  33. !
  34. !
  35. File to patch? 
  36. Base address? ...UIC+2
  37. Offset address? 0
  38.  Base    Offset  Old     New?
  39. ??????    000000    000000    ? 127.
  40. ??????    000002    041000    ? ^Z
  41. Offset address? ^Z
  42. Base address? ..$DEL
  43. Offset address? -1
  44.  Base    Offset  Old     New?
  45. ??????    177777       120    ? <LF>
  46. ??????    000000       000    ? 377
  47. ??????    000001       104    ? ^Z
  48. Offset address? ^Z
  49. Base address? ..$DIR
  50. Offset address? -1
  51.  Base    Offset  Old     New?
  52. ??????    177777       114    ? <LF>
  53. ??????    000000       000    ? 377
  54. ??????    000001       104    ? ^Z
  55. Offset address? ^Z
  56. Base address? ..$ERA
  57. Offset address? -1
  58.  Base    Offset  Old     New?
  59. ??????    177777       123    ? <LF>
  60. ??????    000000       000    ? 377
  61. ??????    000001       105    ? ^Z
  62. Offset address? ^Z
  63. Base address? ..$REN
  64. Offset address? -1
  65.  Base    Offset  Old     New?
  66. ??????    177777       115    ? <LF>
  67. ??????    000000       000    ? 377
  68. ??????    000001       122    ? ^Z
  69. Offset address? ^Z
  70. Base address? ..DIRP
  71. Offset address? 0
  72.  Base    Offset  Old     New?
  73. ??????    000000    000001    ? 2
  74. ??????    000002    ??????    ? ^Z
  75. Offset address? ^Z
  76. Base address? SLOWDO
  77. Offset address? 0
  78.  Base    Offset  Old     New?
  79. ??????    000000    000000    ? 1
  80. ??????    000002    ??????    ? ^C
  81.