Author |
Message
|
balaji83it |
Posted: Tue Oct 05, 2010 3:26 am Post subject: Query about RFHUTIL |
|
|
Acolyte
Joined: 20 Jul 2007 Posts: 72
|
Can we use RFHUTIL to login with another user id other than the one who has logged in and ran rfhutilc.exe?
Also once logged in as other user, can we put, get and browse messages normally.
If there is any such mechanism, please let me know.
Also I have gone through the rfhutil doc and it says to use "set conn id" and "Use alt id". But nothing is working.
Even if I give a user who is authorized also, it simply says
"Not Authorized(open)"
Any ideas , please let me know.
Thanks
Balaji |
|
Back to top |
|
 |
exerk |
Posted: Tue Oct 05, 2010 3:36 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
And I do hope this post is NOT a duplicate of THIS post? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
balaji83it |
Posted: Tue Oct 05, 2010 4:00 am Post subject: |
|
|
Acolyte
Joined: 20 Jul 2007 Posts: 72
|
No sir, it is not a duplicate. I got the answer to the query in that post. This is a new question. Hence, new post. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Oct 05, 2010 4:26 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
rfhutil is a C program. C Programs always connect to the queue manager as the OS level user that has started the program.
If you wish to run RFHUTIL or other c Programs from a user that is not the same as the user running the interactive session, you must use Run As or other OS level utilities to do so.
Or you can configure MCAUSER on a SVRCONN and use rfhutilC.
ALT USER authority is not checked at connect time, it is only checked at Open, Put and Get time, IIRC. |
|
Back to top |
|
 |
exerk |
Posted: Tue Oct 05, 2010 4:27 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
No need to call me sir, I work for a living!
Have you set the variable and bounced the queue manager (as suggested in the other post) and then checked the queue manager log immediately after the failure to see what's there? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
balaji83it |
Posted: Tue Oct 05, 2010 4:35 am Post subject: |
|
|
Acolyte
Joined: 20 Jul 2007 Posts: 72
|
Hello Exerk,
As told by you in the other post, I tried it as well. It is my wrong that I did not post the result of that.
It gives me the following in the error log.
AMQ8077: Entity ' ' has insufficient authority to access object
'Q1'
So the user name is blank what ever be the user I use.
@mqjeff
Can you throw some light on how to configuring MCAUSER on a SVRCONN and using rfhutilC. Iam completely new to admin.
Thanks
Balaji. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Oct 05, 2010 4:51 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
balaji83it wrote: |
Can you throw some light on how to configuring MCAUSER on a SVRCONN and using rfhutilC. Iam completely new to admin. |
It's the same as configuring MCAUser on a SVRCONN and using any application. Look it up in the System Admin Guide; the search facility will also turn up a wealth of discussion on this forum regarding MCAUser, it's uses & it's pitfalls.
As you're new, I offer one top tip - do not put 'mqm' as the MCAUser even though this does seem like a good way of fixing an authorization problem. I leave discovering why this is a bad idea to your researches. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|