Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Rebuild rightslist.dat file due to corruption: add rightslist ID

 
SOLVED
Go to solution
Layne Burleson_1
Regular Advisor

Rebuild rightslist.dat file due to corruption: add rightslist ID

I have a corrupted rightslist.dat file. I'm rebuilding it from a new file but can't figure out how to add the following id:

IMGDMP$READALL $X90390001

I tried:

add/id/value=id:%x90390001 imgdmp$readall AND
add/id/value=id:%x0390001 imgdmp$readall

I can't get it to add back as it is in the old file. Any ideas?
10 REPLIES
Graham Burley
Frequent Advisor
Solution

Re: Rebuild rightslist.dat file due to corruption: add rightslist ID

%x80000000 gets added to identifiers, so you'd need to specify the vaue as %x10390001.
Jan van den Ende
Honored Contributor

Re: Rebuild rightslist.dat file due to corruption: add rightslist ID

Burleson,

the displayed valuse get %X80000000 added.

so,
UAF> add/id/value=id:%x10390001 imgdmp$readall
should do the trick.
Simple if you know it, but not trivial to find out !

Success.

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
EdgarZamora
Trusted Contributor

Re: Rebuild rightslist.dat file due to corruption: add rightslist ID

That won't work. Do this:

Run sys$system:IMGDMP_RIGHTS.EXE

Jim_McKinney
Honored Contributor

Re: Rebuild rightslist.dat file due to corruption: add rightslist ID

This is a special case and an executable exists for just this purpose. Simply

$ RUN SYS$SYSTEM:IMGDMP_RIGHTS

and the identifier will be added back in to the RIGHTSLIST. Under normal circumstances you'd do something like you're second example above and AUTHORIZE would add %x80000000 to it (to differentiate it from UICs). But this one doesn't appear to be in that range that AUTHORIZE can handle.
Layne Burleson_1
Regular Advisor

Re: Rebuild rightslist.dat file due to corruption: add rightslist ID

running the sys$system:imgdmp_rights worked for that particular one... how do I add others ? for example: NET$DECLAREOBJECT %X91F50005 DYNAMIC

Are these special cases documented anywhere?
EdgarZamora
Trusted Contributor

Re: Rebuild rightslist.dat file due to corruption: add rightslist ID

You can't add those special cases using AUTHORIZE. I don't know of any documentation to point you to, but for the other case you mentioned, NET$DECLAREOBJECT, can be recovered by:

run sys$system:dce$add_id

good luck.
EdgarZamora
Trusted Contributor

Re: Rebuild rightslist.dat file due to corruption: add rightslist ID

I am anticipating that you may ask about the following identifiers, too:

SECSRV$CLIENT %X96EE0001
SECSRV$COMMUNICATION %X96EE0003
SECSRV$OBJECT %X96EE0002

If you haven't recovered those yet, just restart your security server:

$ set server security /restart

and those identifiers will be recreated.

Good luck.
Layne Burleson_1
Regular Advisor

Re: Rebuild rightslist.dat file due to corruption: add rightslist ID

Edgar, you read my mind.... thanks a bunch. You saved the day. I suppose I'll have to put these in my personal notes since I can't find them documented anywhere.
Layne Burleson_1
Regular Advisor

Re: Rebuild rightslist.dat file due to corruption: add rightslist ID

Thanks to everyone for your help. Edgar saved the day!
John Gillings
Honored Contributor

Re: Rebuild rightslist.dat file due to corruption: add rightslist ID

Just in case anyone else is trying to recover RIGHTSLIST, you can recover all your user identifiers from SYSUAF with:

UAF> ADD/IDENT/USER=*

(I assume Burleson had already figured this out, but worth noting for the thread)
A crucible of informative mistakes