Operating System - OpenVMS
1753436 Members
4469 Online
108794 Solutions
New Discussion юеВ

Re: Decnet & Proxy login question

 
SOLVED
Go to solution
Arch_Muthiah
Honored Contributor

Re: Decnet & Proxy login question

Jorge,

You can see the VMS HELP to create the proxy account.
or
At the remote node name - rxxx (local node is lxxx)

$mcr authorize

uaf> add prx_acct/pass=../dire=../dev=.. etc as usual

uaf> create/proxy

uaf>add/proxy lxxx::your_username rxxx/default

uaf> you can add any other username also to have proxy access with the same cmds

now you can use the above copy commands without specifying the UN and PWD


Archunan
Regards
Archie
Jorge Cocomess
Super Advisor

Re: Decnet & Proxy login question

Archunan - I must be extremely tired or just plain dumb today. I don't get the syntax from your previous posting. How do I setup the Proxy for a particular user to do remote copy without passing the string of username & password from Server_A to Server_B??

The normal syntax that I used to copy from Server_A to Server_B is:

COPY Test.OUT Server_A"Jorge PASSWORD"::DSA5:[USER.Jorge]*.* /log

Thank you!!
Ian Miller.
Honored Contributor

Re: Decnet & Proxy login question

On Server_A

MCR AUTHORIZE ADD/PROXY thisnode::remotenuser JEORGE/DEF

where remoteuser is the username on this node.

____________________
Purely Personal Opinion
Arch_Muthiah
Honored Contributor

Re: Decnet & Proxy login question

Jorge,

Assume the account jorge is in Server_A

At Server_B:
Create a proxy account named pr_jorge. A proxy login enables a user logged in at a remote node (Server_A) to be logged in automatically to a specific account (pr_jorge) at the local node (Server_B), without having to supply any access control information.

$mcr authorize !-- make sure you don't create new uaf file

uaf> add pr_jorge/pass=xxxx/device=dka100/dire=[pr_jorge].. etc as usual

uaf> create/proxy !---- give this command if you don't have the proxy database, this will create netproxy.dat (decnet phase IV) or net$proxy.dat (for decnet phase V)

uaf>add/proxy Server_A::jorge pr_jorge/default

This allows the account jorge on server_A proxy access to account pr_jorge, all his privileges and allows temporarily act as pr_jorge when he (jorge) access Server_B.

you said, you want to copy from Srver_A to Server_B, but command you've given copies to Server_A. OK, we will do the same, coping test.out from Server_B to server_A

From Server_A/jorge account, give this command
$copy Server_B::test.out test.out

$copy server_B::[not_login_dir]test.out test.out

Archunan
Regards
Archie
Jorge Cocomess
Super Advisor

Re: Decnet & Proxy login question

Archunan,

Do I still need to create an acocount on Node B if I already have an account called 'Jorge' on node A and on Node B?

So, I would only need to do this, right?

On Node A:
add/proxy Server_A::jorge jorge/default

Node B:
add/proxy Server_A::jorge jorge/default

Please let me know.

Thanks for your help.

Jorge
Ian Miller.
Honored Contributor

Re: Decnet & Proxy login question

On Node A:
add/proxy Server_B::jorge jorge/default

to allow communications both ways.
____________________
Purely Personal Opinion