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 » Authority to use RUNMQSC

Post new topic  Reply to topic
 Authority to use RUNMQSC « View previous topic :: View next topic » 
Author Message
olan022
PostPosted: Thu Jun 13, 2002 4:43 am    Post subject: Authority to use RUNMQSC Reply with quote

Acolyte

Joined: 17 Apr 2002
Posts: 50

I want to allow some users to be able to browse queues in MQSeries via RUNMQSC but not let them be a part of the mqm group. I've given them access to view a queue via SETMQAUT but cannot even start RUNMQSC - I get AMQ8135: Not Authorized. What am I missing?

Thanks!
Back to top
View user's profile Send private message Send e-mail
mqonnet
PostPosted: Thu Jun 13, 2002 5:17 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

You can allow users to browse queues and set authorities using SETmqaut. And let them use amqsbcg or likes to browse them.

Rumqsc is an mq Admin utility and needs mqm authority to execute it. Hence giving permissions to users outside mqm group is not possible.

Cheers.
Kumar
_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mrlinux
PostPosted: Thu Jun 13, 2002 5:31 am    Post subject: Reply with quote

Grand Master

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

There is a way to do it, I wouldnt advise it, but thats just me. see the
following post for some of the info

http://www.webmq.com/phpBB2/viewtopic.php?t=3055&postdays=0&postorder=asc&highlight=mrlinux%20explorer&start=15
_________________
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
jhalstead
PostPosted: Thu Jun 13, 2002 6:04 am    Post subject: Reply with quote

Master

Joined: 16 Aug 2001
Posts: 258
Location: London

Would support pack MS0E be of any use? This allows anyone to have controlled & audited access to runmqsc without being a member of the mqm group

Jamie
Back to top
View user's profile Send private message Send e-mail
blane99
PostPosted: Thu Jun 13, 2002 6:18 am    Post subject: Re: Authority to use RUNMQSC Reply with quote

Apprentice

Joined: 12 Jun 2002
Posts: 41

What platform are you using? If unix I can provide safe way.
Back to top
View user's profile Send private message
mqonnet
PostPosted: Thu Jun 13, 2002 6:20 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

Jeff.
I could not really relate this issue with the link you mentioned earlier. Because the question in discussion here is Runmqsc and not queues. And runmqsc is purely an mqm utility. And no one other than mqm user is allowed to access it. Please correct me if i am wrong.

Cheers.
Kumar
_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mrlinux
PostPosted: Thu Jun 13, 2002 6:37 am    Post subject: Reply with quote

Grand Master

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

Well you are right about it being a mqm utility, however you can provide
execute rights to non mqm admins, but you then have to also provide the
permissions to the Command Server Queues, so the link is more for after you have set runmqsc to be run by non mqm group user.


I should have been more clear on that
_________________
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
blane99
PostPosted: Thu Jun 13, 2002 7:09 am    Post subject: Reply with quote

Apprentice

Joined: 12 Jun 2002
Posts: 41

Jeff is right. You need execute permissions on the runmqsc executable
and the following minimum:

+connect on the qmgr
+dsp for the queue

example

setmqaut -m QMA -t qmgr -g mqmdev +connect
setmqaut -m QMA -n TESTQ -t q -g mqmdev +dsp
Back to top
View user's profile Send private message
mqonnet
PostPosted: Thu Jun 13, 2002 7:20 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

Ok. I am a bit confused here. Let me put forth myself in detail.

1) Runmqsc "as is" CANNOT be accessed by a non-mqm user.
2) Not quite sure what you mean by Command server in this case. Because if you involve it, it would be PCF messages and not Runmqsc perse. Then it would be like issuing runmqsc commands from, say a client, using PCF messages. But it is NOT equivalent to using RUNMQSC, which was the question in this thread.
3) Also could not really understand what you meant by "provide
execute rights to non mqm admins". Because whatever permissions you give to access the Executable Runmqsc, eventually the authority checking is done down under inside MQ. Which comes back to the same issue. Since the user is not in the mqm group, he/she is not allowed to run the command, even though you have granted "execute" permissions to it.

Please comment.

Cheers.
Kumar
_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
olan022
PostPosted: Thu Jun 13, 2002 7:35 am    Post subject: Reply with quote

Acolyte

Joined: 17 Apr 2002
Posts: 50

WOW!
I'm really impressed by the amount of experts that have taken attention to this. I'm hearing a key point:

1) A user cannot run RUNMQSC without being in the mqm group (we are running AIX 5, by the way)

If this is the case, then SETMQAUT won't get me there.

Let me extrapolate on this:

I just want developers, etc. to be able to VIEW queues and queue contents via the SNOOP utility without giving them the keys to the city. They don't necessarily have to be able to run RUNMQSC, just a tool to non-destructively view information. I understand that MO71 and the MQ Explorer are not good options.
Back to top
View user's profile Send private message Send e-mail
blane99
PostPosted: Thu Jun 13, 2002 7:39 am    Post subject: Reply with quote

Apprentice

Joined: 12 Jun 2002
Posts: 41

for unix do chmod o+x /opt/mqm/bin/runmqsc

to give execute permission.
Back to top
View user's profile Send private message
olan022
PostPosted: Thu Jun 13, 2002 7:45 am    Post subject: Reply with quote

Acolyte

Joined: 17 Apr 2002
Posts: 50

CHMOD on the runmqsc executable itself will not allow me to run RUNMQSC. An authorization error occurs because there is some "deeper" check that is going on.

It is sounding like RUNMQSC is not the avenue I want to take if I just want people to view queues and messages, anyway.
Back to top
View user's profile Send private message Send e-mail
blane99
PostPosted: Thu Jun 13, 2002 8:06 am    Post subject: Reply with quote

Apprentice

Joined: 12 Jun 2002
Posts: 41

We have used both of the following support paks:

MS0E: MQSeries Administration Wrapper

MS0H: MQSeries - Queue depth monitoring tool (browse also)

Both probably satisfy your requirements
Back to top
View user's profile Send private message
olan022
PostPosted: Thu Jun 13, 2002 9:42 am    Post subject: Reply with quote

Acolyte

Joined: 17 Apr 2002
Posts: 50

Excellent!

THANKS SO MUCH, BLANE99!!! That looks exactly like what I am looking for!
Back to top
View user's profile Send private message Send e-mail
olan022
PostPosted: Thu Jun 13, 2002 9:45 am    Post subject: Reply with quote

Acolyte

Joined: 17 Apr 2002
Posts: 50

Whoops, thanks to JHALSTEAD too, as he suggested this as well!
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 » Authority to use RUNMQSC
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.