1753691 Members
5414 Online
108799 Solutions
New Discussion юеВ

Re: VMS Account

 
SOLVED
Go to solution
Ian Derringer
Regular Advisor

VMS Account

Greetings,
I would like to know on how do you modify a 3 characters VMS account to a 7 characters VMS account and have the UIC reflect the changes as well. For an example:
Username: IJD Owner: Ian J. Derringer
Account: 63 UIC: [50,101] ([IJD])
CLI: DCL Tables: DCLTABLES
Default: DISK5:[USER.IJD]
LGICMD: LOGIN

Thank you in advance.

Ian D.
18 REPLIES 18
Phillip Thayer
Esteemed Contributor
Solution

Re: VMS Account

Use the following Authorize Command:

MODIFY/MODIFY_IDENTIFER IJD IJDERRINGER

This will update the identifier as well as the account.

Phil
Once it's in production it's all bugs after that.
Hein van den Heuvel
Honored Contributor

Re: VMS Account

Usernames and Identifiers are PRIMARY KEYS in INDEXED files and as such can not be modified. So you can not use UAF> MODIFY for the username, but need to use UAF> COPY old new. And for the idendifier you need UAF> ADD /IDEN new /VAL=old-id (generating duplicate value messages.

I would use a DCL or perl script to generate a list of those UAF commands with tweaks /like /DEFDIR=[user.new].
I would have that list also include a 'MODI old/DISUSER' and generate a seperate list with 'DELE old' commands to be executed later when all is well.

I would CONVERT/FDL/FAST/STAT after the bulk COPY/ADD and after the DELE at some future time.

hth,
Hein.


Hein van den Heuvel
Honored Contributor

Re: VMS Account

Ooops, I may have read to quick. I saw the 3 char usernam and though that needed to be modified as well as the account.

MODI/MODI (the default anyway) is a good thing to read up on.

Hein.
Doug Phillips
Trusted Contributor

Re: VMS Account

Ian,

Maybe some confusion here because "Account" in VMS is *not* the same as "Username". The Account for this user is 63. The Identifier IJD has been established for uic [50,101] and there is no group identifier for [50,*] so the alpha uic just shows [IJD].

If you mean you want to change the username to 7 characters and have the identifier changed too, then the MODI/MODI will do that.

If you intend to have more than one person per group, you might want to establish an identifier for group 50, too:

UAF> ADD /IDENT groupname /VALUE=UIC:[50,*]

where groupname is whatever you want to call group 50. It's good to keep all group names unique and different from usernames.

p.s.: Phillip Thayer wasn't a bit confused and should get the 10 points.
Ian Derringer
Regular Advisor

Re: VMS Account

You guys lost me )-:
This is what I did so far;
1. uaf copy IJD IDERRINGER
2. I need to make the UIC looking like this UIC: [50,101] ([IDERRINGER])
NOT UIC: [50,101] ([IJD])

I done this once before but for the life of me, I'm can't seem to remember the command.

Help!!

Thanks, guys!

Ian
Doug Phillips
Trusted Contributor

Re: VMS Account

No. Delete the new account and use the command Phillip gave you.
Doug Phillips
Trusted Contributor

Re: VMS Account

Sorry, Ian. To not confuse you any more, it's:

REMOVE IDERRINGER

Doug Phillips
Trusted Contributor

Re: VMS Account

Okay, now that you're really confused;-) the MODI/MODI won't do what you want. Instead, use:

RENAME/MODIF IJD IDERRINGER

instead.
Phillip Thayer
Esteemed Contributor

Re: VMS Account

Opps. My bad there. It should be:

RENAME/MODIFY_IDENT IJD IJDERRINGER

Sorry about that one.

Phillip
Once it's in production it's all bugs after that.