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