[Info-vax] Removing /identifier from rights list

VAXman- at SendSpamHere.ORG VAXman- at SendSpamHere.ORG
Wed Sep 24 09:28:07 EDT 2014


In article <a46ec1e1-2617-47a5-a451-cf30a973c5e4 at googlegroups.com>, RGB <11brvo at gmail.com> writes:
>Hi y'all!
>
>I think I might have a corrupt rightslist.dat file but short of deleting it=
> and recreating a new one - horror of all horrors - I'm trying to figure ou=
>t a way of deleting an identifier by its value attribute.
>
>Here's an example of one of my users with odd/corrupt id's.
>
> .........~=F6.....                 %X800100C5     =20
>  .........~=F6.....                 %X800100C6     =20
>  .........~=F6.....                 %X800100C7     =20
>  .........~=F6.....                 %X800100C8     =20
>  .........~=F6.....                 %X800100CA     =20
>  .........~=F6.....                 %X800100CB     =20
>  .........~=F6.....                 %X800100CD     =20
>  .........~=F6.....                 %X800100CE     =20
>  .........~=F6.....                 %X800100CF
>
>I don't know if it's possible but I'm trying to figure out a way of removin=
>g the suspect id's via the '%X8xxxxx" value.
>
>Anyone know if there is a way to do this at all?

$ ANALYZE/RMS/FDL SYS$SYSTEM:RIGHTSLIST.DAT/OUTPUT=RIGHTSLIST.FDL

Write program using FDL$PARSE (simplifies definition of all of the necessary
RMS structures)

The primary of the RIGHTSLIST.DAT file is the identifier value.  It is a bin4
key, so move the value you desire into the appropriate XABKEY fields and then
issue a SYS$DELETE (the RAB).
 
... or ...

$ CONVERT the RIGHTSLIST.DAT to a flat file; delete the problem records; then,
$ CONVERT it back into the proper format using the RIGHTLIST.FDL.

It's VMS.  THere's more than one way to skin a .DAT. :)
-- 
VAXman- A Bored Certified VMS Kernel Mode Hacker    VAXman(at)TMESIS(dot)ORG

I speak to machines with the voice of humanity.



More information about the Info-vax mailing list