Author |
Message
|
karthikt |
Posted: Tue Jun 10, 2003 9:54 pm Post subject: Alternate User authority |
|
|
Novice
Joined: 23 May 2003 Posts: 13 Location: India
|
Hi,
I want to connect Q.Manager with Alternate User ID.
For Example, Userid "X" got access to Q.Manager.
I'll login with uid "Y" and want to connect Q.Manager with uid "X".
MQ Server and client is running HP-UX machine.
I Know that in the MQOPEN, we can specify the alternate user id. I tried that. In the MQCONN, it is giving Error.No "2035".
Any ideas will be highly appreciated...
Thanks
Karthik |
|
Back to top |
|
 |
mqonnet |
Posted: Wed Jun 11, 2003 5:26 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
You need to define a principal for uid "X" on the remote system to identify "X" as a valid user.
Cheers
Kumar |
|
Back to top |
|
 |
Leafar |
Posted: Wed Jun 11, 2003 5:38 am Post subject: |
|
|
 Acolyte
Joined: 03 Apr 2003 Posts: 74 Location: Buenos Aires
|
Try with a wrapper, so you can run the program with id "Y", but with "X" id inside the program |
|
Back to top |
|
 |
mqonnet |
Posted: Wed Jun 11, 2003 5:51 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Leafar, dont you think the whole purpose of using alternate userid is defeated and this would be eventually using "Y" id, if i understand it right.
Cheers
Kumar |
|
Back to top |
|
 |
karthikt |
Posted: Wed Jun 11, 2003 9:23 pm Post subject: |
|
|
Novice
Joined: 23 May 2003 Posts: 13 Location: India
|
Hi Kumar,
Can you elaborate on creating defining principal uid?. where to create the principal uid?.
Thanks
Karthik |
|
Back to top |
|
 |
mqonnet |
Posted: Thu Jun 12, 2003 3:06 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Principal is nothing but creating a userid on the remote end from where you are getting 2035.
Cheers
Kumar |
|
Back to top |
|
 |
karthikt |
Posted: Thu Jun 12, 2003 3:20 am Post subject: |
|
|
Novice
Joined: 23 May 2003 Posts: 13 Location: India
|
Hi Kumar,
I'm new to unix. Please guide me to create the principal user id.
We are using HP-UX
Thanks
Karthik |
|
Back to top |
|
 |
mqonnet |
Posted: Thu Jun 12, 2003 4:59 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
I am not that sure of Hp-Ux. But you should have some admin tools to add/delete/manage users. If you do not know of one, may be your administrator could do that for you. Ask him to add a user with the same name as "X" on Hp-Ux box.
Cheers
Kumar |
|
Back to top |
|
 |
vennela |
Posted: Thu Jun 12, 2003 7:33 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
On HP-UX you can use the following commands:
useradd -> to add a user
groupadd -> to add a group
You should be able to get the usage from their man pages
-------
Venny |
|
Back to top |
|
 |
|