[Info-vax] Removing /identifier from rights list

Jan-Erik Soderholm jan-erik.soderholm at telia.com
Wed Sep 24 14:20:26 EDT 2014


David Froble wrote 2014-09-24 19:54:
> RGB wrote:
>> On Wednesday, September 24, 2014 9:28:07 AM UTC-4, VAXman- wrote:
>>> In article <a46ec1e1-2617-47a5-a451-cf30a973c5e4 at googlegroups.com>, RGB
>>>> 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.
>>
>>
>> Thank you for the suggestion, sir.  Much appreciated.  I think I'm going
>> to go with the CONVERT and see how that works out.
>> Thanks again.
>
> Yeah, that would have been my choice too.
>
> Just make sure you keep a copy of the original file around until done, in
> case you get to a point where you say "oh, shit!"
>
> :-)

Start with restoring an old version using another name.
Then try to compare a few of the weird values and see if
that points in some specific direction. Such as if all
"corrupted" identifiers comes from the same subsystem.

Another thing...
Do you have any real problems or errors from the daily
operations that seems to be connected with these IDs?
What made you look at this in the first place?

Jan-Erik.



More information about the Info-vax mailing list