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 » MQSC display lsstatus by another user

Post new topic  Reply to topic
 MQSC display lsstatus by another user « View previous topic :: View next topic » 
Author Message
Boomn4x4
PostPosted: Mon Dec 17, 2012 6:58 am    Post subject: MQSC display lsstatus by another user Reply with quote

Disciple

Joined: 28 Nov 2011
Posts: 172

I am trying to configure another user to execute MQSC commands, but to display only. I've changed the runmqsc application's permissions to r-sr-sr-x and am explicitly setting the authority for the user using setmqaut +dsp

This is working fine for displaying queue information, channel information, but it doesn't seem to work to display lsstatus information. If I do a DIS LISTENER() it works, but I'm getting "Not Authorized" if I do a DIS LSSTATUS.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Dec 17, 2012 7:09 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

What is the user's group membership? You could set the specific permissions once to a group, and make that user a member of that group. What OS? What version of OS and MQ?

There are several APARs on this command. You may like to open a PMR.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Boomn4x4
PostPosted: Mon Dec 17, 2012 7:17 am    Post subject: Reply with quote

Disciple

Joined: 28 Nov 2011
Posts: 172

lancelotlinc wrote:
What is the user's group membership? You could set the specific permissions once to a group, and make that user a member of that group. What OS? What version of OS and MQ?

There are several APARs on this command. You may like to open a PMR.


OS is Linux SUSE WebSphere is V7.0

The user is apart of its own group and I am granting authority at the group level.

ie
setmqaut -m MYQMGR -n '**' -t listener -g mygroup +dsp
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Dec 17, 2012 7:34 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

check the authorization matrix. However you may need +dsp +inq
Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Boomn4x4
PostPosted: Mon Dec 17, 2012 11:26 am    Post subject: Reply with quote

Disciple

Joined: 28 Nov 2011
Posts: 172

Problem was resolved by setting the QMGR itself to +connect for that group. Not sure why only LSSTATUS needed it, but it did.
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Mon Dec 17, 2012 12:39 pm    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

@Boom4x4

You should not modify any WMQ file unless IBM Support has instructed you to do so. Only users in the mqm group should use runmqsc.

If you want the same functionality for non-mqm group users, then use MO72's mqsc command which takes the same syntax.

Then follow this for general instructions. If you use google, you will find the sPac to download MQExplorer too...
Back to top
View user's profile Send private message AIM Address
Boomn4x4
PostPosted: Mon Dec 17, 2012 12:50 pm    Post subject: Reply with quote

Disciple

Joined: 28 Nov 2011
Posts: 172

JosephGramig wrote:
@Boom4x4

You should not modify any WMQ file unless IBM Support has instructed you to do so. Only users in the mqm group should use runmqsc..


I took the instruction from this IBM documentation:
http://www-01.ibm.com/support/docview.wss?uid=swg21027203
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Mon Dec 17, 2012 2:00 pm    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

I don't think I would take that advice (from 2005 no less).

What do you think will happen when you apply maintenance?
Back to top
View user's profile Send private message AIM Address
Vitor
PostPosted: Mon Dec 17, 2012 4:29 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

JosephGramig wrote:
I don't think I would take that advice (from 2005 no less).


In fairness that link does say it applies to WMQv7.0

JosephGramig wrote:
What do you think will happen when you apply maintenance?


Possibly you'd need to change the executable permissions back.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Tue Dec 18, 2012 8:04 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

sPacs like MO72 have advantages:

  1. Works remotely (if you install the WMQ Client)
  2. Can update CCDTs (something I find people struggle with)
  3. Pushes responsibility for keeping up with it on the user
Back to top
View user's profile Send private message AIM Address
Boomn4x4
PostPosted: Tue Dec 18, 2012 12:58 pm    Post subject: Reply with quote

Disciple

Joined: 28 Nov 2011
Posts: 172

For future reference.... I just received instruction from IBM via a PMR I opened to follow the support doc I listed above. So, as of Dec 18, 2012... it is still valid.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQSC display lsstatus by another user
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.