home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!agate!ucbvax!UH01.Colorado.EDU!DWING
- From: DWING@UH01.Colorado.EDU (Dan Wing)
- Newsgroups: comp.os.vms
- Subject: Re: Copying a LONG list of rights identifiers between users.
- Message-ID: <01GMVMFMDOOY0008FF@VAXF.COLORADO.EDU>
- Date: 27 Jul 92 21:30:04 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 39
-
- In private mail, Don Robers, <don@biivax.dp.BECKMAN.COM>, wrote:
-
- >"GENERIC" (to use your example), is a well established name that has been used
- >for other purposes for a long time. It has a *lot* of differences (access
- >restrictions, flag, uic, sys$login, privs, etc. I would have to be very
- >careful to make sure it ended up the same as previous.
-
- True... How about:
-
- $ MCR AUTHORIZE LIST/FULL JOE
- and then edit the SYSUAF.LIS file so it only contains the identifiers, then
- do something like:
-
- $ OPEN/READ INFILE SYSUAF.LIS
- $ OPEN/WRITE OUTFILE SYSUAF_UPDATE.COM
- $
- $ WRITE OUTFILE "$ SET DEFAULT SYS$SYSTEM"
- $ WRITE OUTFILE "$ RUN AUTHORIZE"
- $
- $LOOP:
- $ READ/END_OF_FILE=DONE INFILE RECORD
- $ WRITE OUTFILE "GRANT/ID ", F$EXTRACT(0,35,RECORD), " GENERIC"
- $ GOTO LOOP
- $
- $DONE:
- $ WRITE OUTFILE "EXIT"
- $ WRITE OUTFILE "$ EXIT"
- $ CLOSE OUTFILE
- $ CLOSE INFILE
-
- check it over, and then:
-
- $ @SYSUAF_UPDATE.COM
-
- It's tacky, there must be a better way, but this should work.
-
- -Dan Wing, DWING@UH01.Colorado.EDU or WING_D@UCOLMCC.BITNET (DGW11)
- Systems Programmer, University Hospital, Denver
-
-