ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » How to run trigger process under id other than MUSR_MQADMIN?

Post new topic  Reply to topic
 How to run trigger process under id other than MUSR_MQADMIN? « View previous topic :: View next topic » 
Author Message
tamagawa
PostPosted: Tue Jun 03, 2003 6:47 pm    Post subject: How to run trigger process under id other than MUSR_MQADMIN? Reply with quote

Novice

Joined: 09 May 2003
Posts: 13

Hi everyone,

I am calling a method of a remote COM object in my triggered process. When the method is called, the id is MUSR_MQADMIN. Is there any way to force the triggered process to run under a different id?

Thanks-
Back to top
View user's profile Send private message
vennela
PostPosted: Wed Jun 04, 2003 6:01 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

You can use the sample trigger monitor "amqstrg" and run under a different user.

-------
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
tamagawa
PostPosted: Wed Jun 04, 2003 8:31 am    Post subject: Reply with quote

Novice

Joined: 09 May 2003
Posts: 13

Thanks for the tip. Is the only way to achieve this by using a different trigger monitor?

Thanks
Back to top
View user's profile Send private message
vennela
PostPosted: Wed Jun 04, 2003 9:54 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

I am not aware of any.
But to quote one of the experts clindsey, you can't make runmqtrm to run other userid.
Quote:
runmqtrm is a 'setuid' program that runs as user 'mqm'.


This thread is also interesting.

http://www.mqseries.net/phpBB2/viewtopic.php?t=7921&highlight=amqstrg
Back to top
View user's profile Send private message Send e-mail Visit poster's website
basva
PostPosted: Tue Jun 24, 2003 12:00 pm    Post subject: Reply with quote

Apprentice

Joined: 27 Nov 2002
Posts: 39

There are two ways.

1) Start your trigger monitor (runmqtrm) under different user ID. The disadvantage with this approach is you need this window to be opened always.

2) Change the user ID under which MQSeries runs from MUSR_MQADMIN to a new user ID by

AMQMSRVN -regserver -user [domain][userid] -password (password)

The samething can be done using DCOMCNFG (You have to be administrator on this NT box to do this).

Thanks
Satish
Back to top
View user's profile Send private message
clindsey
PostPosted: Tue Jun 24, 2003 2:21 pm    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

Venny,

FYI, setuid only applies to the unix platforms.

Charlie
Back to top
View user's profile Send private message
mrlinux
PostPosted: Thu Jun 26, 2003 9:20 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

You coud use the srvany.exe and runmqtrm.exe and setup and nt service
and run it under a different ID that way.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » How to run trigger process under id other than MUSR_MQADMIN?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.