home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 22148 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  5.5 KB

  1. Path: sparky!uunet!opl.com!hri.com!spool.mu.edu!agate!dog.ee.lbl.gov!ucbvax!IPG.PH.KCL.AC.UK!SYSMGR
  2. From: SYSMGR@IPG.PH.KCL.AC.UK
  3. Newsgroups: comp.os.vms
  4. Subject: ?1-800 from outside USA? + obs. ACLs, resources.
  5. Message-ID: <242001A9_00186610.009673D25A01EB40$95_1@UK.AC.KCL.PH.IPG>
  6. Date: 27 Jan 93 12:49:40 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Organization: The Internet
  9. Lines: 103
  10.  
  11. A 3-part posting. First a question that's nothing to do with VAXes. I'm
  12. sure I once saw mentioned a phone number in the USA that I could dial with
  13. a touchtone phone, which would then dial a USA 1-800 number for me. This
  14. would be incredibly useful to me (and probably a lot of other non-US folks).
  15. (I'm not expecting the call to be free!) At present, many USA companies
  16. publish only 1-800 numbers with no indication of location, and
  17. in the UK our hapless telecom provider BT is quite incapable of translating
  18. these numbers into anything callable.
  19.  
  20. Second, a small document about ACLs and resource identifiers that I think
  21. might be of some use to people. And finally, a protest about the flamers.
  22.  
  23. -------------------------------------------------------------------
  24. obs. ACLs, resources, how to make them work for sharing disk quota.
  25.  
  26. For a long time, I've been trying to make files owned by a resource behave in
  27. what I regarded as a sensible way. The rules I wanted were:
  28.  
  29. 1. Any user granted the resource (say FOO) could create files owned by FOO
  30.    in a directory disc:[FOO]
  31. 2. Anyone with the FOO resource could fairly easily delete any such file,
  32.    but preferably not with a simple DELETE command on its own
  33. 3. The user who put the file there could delete the file with a simple
  34.    DELETE command
  35. 4. It would be hard for anyone with the FOO resource to get the files into
  36.    such a state that only privilege could delete them
  37. 5  The default protection for everyone not holding FOO would be RE (or
  38.    anything else appropriate)
  39.  
  40. Note that the objective here is disk quota owned collectively by a group
  41. whose members change from time to time. It's not enhanced file protection.
  42.  
  43. The answer I have found is to set up, as system manager, the directory and
  44. ACLs as follows:
  45.  
  46. $ CREATE/DIR/OWNER=[FOO] disc:[FOO]             
  47. $ SET DIRECTORY/ACL=( -
  48.    (DEFAULT, S:RE, O:RWED, G:RE, W:RWED), -          ! NB W:RWED
  49.    (ID=FOO, ACC=R+W+E+C), -
  50.    (ID=FOO, ACC=R+W+E+C, OPT=DEFAULT), -  
  51.    (ID=*, ACC=R+E), -
  52.    (ID=*, ACC=R+E, OPT = DEFAULT) -
  53.   )
  54.  
  55. The key to it is the default protection being as insecure as possible! In
  56. effect, you're relying solely on ACLs and making SOGW protection irrelevant.
  57. I found this extremely counter-intuitive.
  58.           
  59. The next pair of ACLs for ID=FOO allow anyone with FOO to control the file.
  60. Delete access is missing, so to do that you have to use the C access to change
  61. the ACL. VMS gives the user who created the file in the first place a "free"
  62. ACL which specifies RWEDC access, so that person can use DELETE on its own.
  63.  
  64. The final pair of ACLs specify the access for anyone not granted FOO - RE
  65. in the above example, ACCESS=NONE if you're after security rather than sharing.
  66. You can put ACLs for other identifiers or users between the ID=FOO ACL and the
  67. ID=* ACL, the order is important because for any user, the first ACL in the
  68. list which matches his IDs is used, regardless of whether there is a more
  69. permissive one further down the list.
  70.  
  71. W:RWED for the SOGW protection is so that if the authorised people louse up
  72. the ACL the result isn't a file that only the system manager can delete. 
  73. As long as the ID=* ACL is present, it not significant because nothing can
  74. fall off the end of the ACL list and use the SOGW protection. It becomes
  75. omportant when a FOO user managers to louse up the ACL and uses SET ACL/DELETE
  76. on it. If you're trying to be ultra secure, this is of course not safe.
  77. -----------------------------------------------------------------------
  78.  
  79. ** FLAME ON **
  80. obs. flamers. HAVE YOU THOUGHT ABOUT THE POSSIBLE SIDE EFFECTS OF YOUR NOISE?
  81.  
  82. From where I am,
  83. (a) our info-VAX distribution is about a week behind. This is almost certainly
  84.     because the flame messages have caused the UK info-VAX server to run out
  85.     of bandwidth. (Don't tell me to upgrade it, I'm just a client).
  86. (b) it's not inconcievable that you've contributed to at least one system crash,
  87.     the one that hit me last night. The active process was the info-VAX
  88.     redistributor. Of course that may be irrelevant, and I'll never know,
  89.     but  if we hadn't had all that content-free rude-words garbage to digest 
  90.     then just maybe it wouldn't have happened.
  91. (c) it's also not inconcievable that you'll deny someone with an incipient
  92.     heart attack his last few days on earth. Do you REALLY want to do that?
  93.  
  94. I can cope with naive users who won't RTFM and/or post relevant details very
  95. easily by hitting delete; this has little effect on my blood pressure. 
  96. Occasionally I'll even help. On the other hand, insulting messages rammed down
  97. my e-mailbox make me angry, and meta**N flames make me angry**N (angry>1).
  98.  
  99. **FLAME OFF**
  100.  
  101. I fear the word "flame" is going the same way as "hacker". Flame used to
  102. mean a posting with much valuable technical content, but expressed in a rather
  103. passionate manner from a biassed viewpoint. This was often acknowledged by
  104. the author who bracketed it with **FLAME ON ** and **FLAME OFF**. Today it
  105. just seems to mean a stream of content-free gibberish full of four-letter words.
  106.  
  107. Please, if you want to be rude to someone don't inflict it on the rest of us.
  108.  
  109.     Yours,
  110.         Nigel Arnot
  111.  
  112.         NRA%ipg.ph.kcl.ac.uk@nsfnet-relay.ac.uk   (internet)
  113.         NRA%uk.ac.kcl.ph.ipg@ukacrl.bitnet        (bitnet)
  114.