[Info-vax] Moving UAF records from Cluster to Cluster
Gotfryd Smolik
gotfryd at unavailable.nospam.pl
Tue Jul 26 13:42:14 EDT 2011
On Tue, 26 Jul 2011, Thomas Wirt wrote:
> I am migrating from a VMS Alpha cluster to a new VMS IA64 cluster. I would
> like to be able to move individual accounts/records from one cluster to the
> other. Is there a tool that would allow me to move or export/import a user
Sure.
Carefully used EDIT and CONVERT/MERGE (see further).
But... ONE user?
Copy the old UAF and:
$ open in OLDUAF.DAT
$ open/read/write/share=write out SYSUAF ! if logical exists
$! or SYS$SYSTEM:SYSUAF.DAT or in the "proper" location, if other
$ read in/index=0/key=SYSTEM record
$ show symbol record
$! and for the expected username:
$ read in/index=0/key=the_username record
$ write/symbol out line
At end:
$ close in
$ close out
For tens of records you may preselect data with "something",
including:
$ SEARCH OLDUAF.DAT "the ",wanted,names/form=passall/out=sel.tmp
review, b.ex. with SEARCH sel.tmp/form=nonull "", and further
"load" with a:
$ CONVERT/MERGE sel.tmp SYSUAF
You can even EDIT/TPU the old sysuaf, the saved output will
be of course a "flat" (sequential) file, but that is perfect
for CONVERT/MERGE. Be aware, not modify anything, except
deleting whole line(s).
Have hope you know what is "system password" record :D
(and delete it of course from the "moved" list)
Of course, you are aware that the *identifiers* (including
the granting list) are saved separatelly?
Best regards, Gotfryd
(years ago here ;))
More information about the Info-vax
mailing list