home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / vms / 12832 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  2.2 KB

  1. Xref: sparky comp.os.vms:12832 vmsnet.sysmgt:223
  2. Path: sparky!uunet!usc!sdd.hp.com!news.cs.indiana.edu!arizona.edu!east.pima.edu!rharwood
  3. Newsgroups: comp.os.vms,vmsnet.sysmgt
  4. Subject: Re: Copying a LONG list of rights identifiers between users.
  5. Message-ID: <1992Jul27.201628.1@east.pima.edu>
  6. From: rharwood@east.pima.edu
  7. Date: 27 Jul 92 20:16:28 MST
  8. References: <1992Jul27.093840.943@beckman.com>
  9. Lines: 31
  10.  
  11. In article <1992Jul27.093840.943@beckman.com>, dsroberts@beckman.com writes:
  12. > We have a username with about 300 rights identifiers attached to it (sad but
  13. > true).  The user has retired and we want to use a generic username for what we
  14. > were using all those identifiers.  The generic username exists, and I just 
  15. > need to put all those rights identifiers on the generic username.  Is there a 
  16. > simple way to grant/id all those identifiers? 
  17.  
  18. I take the brute-force-but-simple approach on such one-time tasks:
  19.  
  20. 1)  Get into AUTHORIZE and do a "LIST/FULL OLD_USER", exit and rename
  21.     SYSUAF.LIS to X.COM
  22. 2)  Use EVE to cut out all the stuff from X.COM other than the granted 
  23.     rights lines near the bottom of the list:
  24.       IMA_HOLDER         %X80000003
  25. 3)  Put the cursor on the beginning of the first rights line
  26. 4)  Start an EVE "learn" sequence (usually control-K)
  27. 5)  Add "GRANT/ID " in front, advance (by word?) past the rights ID, erase 
  28.     to end of line, and add "NEW_USER" to the end of the line:
  29. GRANT/ID      IMA_HOLDER         NEW_USER
  30. 6)  Go down a line, go to beginning of line (2nd rights id).
  31. 7)  Tell EVE to REMEMBER the learn sequence and assign to gold-something.
  32. 8)  Guess how many more rights IDs there are, and DO REPEAT 300 or something.
  33. 9)  Then press your gold-something, and wait while the editor does your work.
  34.  
  35. Now add DEFINE/USER SYS$INPUT SYS$COMMAND and RUN AUTHORIZE to the top of that
  36. file, and do an @X... NEW_USER now has OLD_USERs rights IDs.
  37. -----
  38. Ray Harwood           |Data Basix           |Adjunct Faculty, East Campus,
  39. Voice: (602)721-1988  |PO Box 18324         |   Pima Community College
  40. FAX:   (602)721-7240  |Tucson, AZ 85731     |Instructor in Ada and Pascal
  41. CompuServe: 76645,1370|AppleLink: DATA.BASIX|Internet: rharwood@east.pima.edu
  42.