1751792 Members
4953 Online
108781 Solutions
New Discussion юеВ

Re: VMS Account

 
SOLVED
Go to solution
Ian Derringer
Regular Advisor

Re: VMS Account

Is there a command for copy IJD to IDERRINGER and still keep the original IJD account intact? Can I use this command COPY/MODIFY_IDENT IJD IJDERRINGER??

Thanks,
Ian
David B Sneddon
Honored Contributor

Re: VMS Account

Ian,

Is the following what you are trying to achieve?

This first bit is just setting up an account...

UAF> copy dsneddon test1/uic=[10,10]
%UAF-I-COPMSG, user record copied
%UAF-W-DEFPWD, copied or renamed records must receive new password
%UAF-I-RDBADDMSGU, identifier TEST1 value [000010,000010] added to rights databa
se

This is what it looks like...

UAF> show test1

Username: TEST1 Owner: David B Sneddon
Account: SYSPROG UIC: [10,10] ([TEST1])

Now we rename it (what you seem to be wanting to do)

UAF> rename test1 test2
%UAF-I-RENMSG, user record renamed
%UAF-W-DEFPWD, copied or renamed records must receive new password
%UAF-I-RDBMDFYMSG, identifier TEST1 modified

And now look at the new one...

UAF> show test2

Username: TEST2 Owner: David B Sneddon
Account: SYSPROG UIC: [10,10] ([TEST2])

Dave
Robert Gezelter
Honored Contributor

Re: VMS Account

Ian,

Phillip is correct. The best way to do this is the RENAME/MODIFY_IDENTIFIER command within AUTHORIZE.

Watch out for the password change feature. At the end of the HELP text displayed by AUTHORIZE is the admonition:

"When you create a new UAF record with the RENAME command, you must specify a password"

I hope that this clears things up.

- Bob Gezelter, http://www.rlgsc.com
Robert Gezelter
Honored Contributor

Re: VMS Account

Ian,

If you want to change the username but leave the existing Identifier, the RENAME command with the /MODIFY_IDENTIFIER qualifier omitted or negated would be your choice. Check the HELP text within AUTHORIZE for the whole story.

- Bob Gezelter, http://www.rlgsc.com
Doug Phillips
Trusted Contributor

Re: VMS Account

Ian,

From the UAF> prompt, enter HELP and then enter the command from the list that you want help on and help will tell you if there is additional help available.

There is no COPY/MODIFY.

If you look at COPY /ADD_IDENT you will see that /ADD is the default, meaning you don't need to specify it if that's the action you want.

Now, the username identifier is associated with the uic. If different users share uic numbers, the first one added to the system will own that association (unless you change it).

If you want to create a new user named IDERRINGER that has all of the settings of IJD but with its own identifier, you will need a unique UIC for IDERRINGER (and a new password).

Use:

UAF> show * /brief

to list the users and see the UIC's that are assigned. Pick one that isn't assigned and use it for IDERRINGER.

example assuming uic [50,102] is unused:

COPY IJD IDERRINGER/UIC=[50,102]/PASS=passwd

I think most of us were confused because you said you wanted to modify the account.
Ian Derringer
Regular Advisor

Re: VMS Account

Yes, you guys are correct. My questions were not very clear. All I want to do is copy from an existing VMS account with 3 characters to a full 7 characters account and still be sharing the same UIC/identifier. I would still like to leave the original account remain intact. Therefore, the user will now be using the 7 characters account instead the 3 characters and their permission still intact.

Thanks everyone for your feedback on this subject.

Ian
Lawrence Czlapinski
Trusted Contributor

Re: VMS Account

Ian: Sounds like you want a new 7 character username which uses the same UIC.
COPY IJD IJDERRI/PASS=password
The user would have access to the same account through the new username. You wish to retain the old username.
NOTE: This is not two accounts.
Lawrence
Doug Phillips
Trusted Contributor

Re: VMS Account

Ian,

If as you said:
>>
I need to make the UIC looking like this UIC: [50,101] ([IDERRINGER])
NOT UIC: [50,101] ([IJD])
<<

then after doing the copy you will need to:

RENAME /IDENT IJD IDERRINGER

because you didn't change the UIC.
Ian Derringer
Regular Advisor

Re: VMS Account

Great. I will give it a try and let you all know the result.

Thanks everyone!

Ian