Author |
Message
|
9A5YY |
Posted: Mon May 31, 2010 4:06 am Post subject: How to start queue manager with different user then mqm? |
|
|
Voyager
Joined: 27 Sep 2005 Posts: 99 Location: Croatia
|
I started Linux queue manager with an other different user (not with the mqm) which is member of the mqm group. I put test message with the Websphere MQ explorer to the local queue but in the message descriptor there is still the mqm user. How to start queue manager with different user then mqm user? |
|
Back to top |
|
 |
jeevan |
Posted: Mon May 31, 2010 4:50 am Post subject: Re: How to start queue manager with different user then mqm? |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
9A5YY wrote: |
I started Linux queue manager with an other different user (not with the mqm) which is member of the mqm group. I put test message with the Websphere MQ explorer to the local queue but in the message descriptor there is still the mqm user. How to start queue manager with different user then mqm user? |
Where is your explorer running? is the running on the same Linux box where mq server is running? Under what user you are running the explorer?
thanks |
|
Back to top |
|
 |
9A5YY |
Posted: Mon May 31, 2010 5:53 am Post subject: |
|
|
Voyager
Joined: 27 Sep 2005 Posts: 99 Location: Croatia
|
The queue manager is on the virtual Linux machine. I connected remotely to the Linux queue manager from my Windows PC with the Websphere MQ Explorer. I put the message to the local queue. I browsed the message in the queue. The message is put with the mqm user. How to put it with different userid? Before putting the message the queue manager is started with different userid than mqm user. |
|
Back to top |
|
 |
jeevan |
Posted: Mon May 31, 2010 6:07 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
9A5YY wrote: |
The queue manager is on the virtual Linux machine. I connected remotely to the Linux queue manager from my Windows PC with the Websphere MQ Explorer. I put the message to the local queue. I browsed the message in the queue. The message is put with the mqm user. How to put it with different userid? Before putting the message the queue manager is started with different userid than mqm user. |
Under what user are you running the explorer ? is there mcauser in your SERVER CONNECTION channel through which your explorer connects to the queue manager ? |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon May 31, 2010 6:08 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
9A5YY wrote: |
The queue manager is on the virtual Linux machine. I connected remotely to the Linux queue manager from my Windows PC with the Websphere MQ Explorer. I put the message to the local queue. I browsed the message in the queue. The message is put with the mqm user. How to put it with different userid? Before putting the message the queue manager is started with different userid than mqm user. |
The user running the qmgr has little relevance on what you are trying to do.
Check the mcauser on the SVRCONN channel you are using.
If the mcauser is blank and you are using java, are you passing a userid when connecting? If yes, what is the group membership on the Linux box of that user?
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
9A5YY |
Posted: Mon May 31, 2010 6:17 am Post subject: |
|
|
Voyager
Joined: 27 Sep 2005 Posts: 99 Location: Croatia
|
My server-connection channel has got MCAUSER('mqm') for remote administration. Maybe the problem is here!? If I put the MCAUSER('userid')
the my Windows MQ expolrer will put the messages with different userid than mqm specified in MCAUSER? |
|
Back to top |
|
 |
9A5YY |
Posted: Mon May 31, 2010 6:32 am Post subject: |
|
|
Voyager
Joined: 27 Sep 2005 Posts: 99 Location: Croatia
|
I changed server-connection channel atribute MCAUSER('mqm') to MCAUSER('userid'). Everything works fine. The messages is put with the userid no with the mqm user. Thanks for help! |
|
Back to top |
|
 |
|