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 » dispay authorizations

Post new topic  Reply to topic
 dispay authorizations « View previous topic :: View next topic » 
Author Message
mumsrinivas
PostPosted: Wed Mar 21, 2012 11:20 pm    Post subject: dispay authorizations Reply with quote

Newbie

Joined: 11 Mar 2011
Posts: 5

Kindly Please consider the below and help me to resolve my issue. Thanks in advance.

setmqaut -m QM1 -t q -n TEMP -p user1 +allmqi

dspmqaut -m QM1 -t q -n TEMP -p user1

Entity user1 has the following authorizations for object TEMP:
get
browse
put
inq
set
passid
passall
setid
setall

to remediate some issues, we need dspmqaut output as allmqi instead of detailed list i.e "get , browse , put , inq , set , passid , passall , setid , setall "
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Mar 22, 2012 12:39 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Try this if it makes it easier (although it also does not use +allmqi).

amqoamd –m <qmrname> –s
Back to top
View user's profile Send private message
mumsrinivas
PostPosted: Thu Mar 22, 2012 12:46 am    Post subject: Reply with quote

Newbie

Joined: 11 Mar 2011
Posts: 5

Thank you for the response,

I tried with emboamd -s , got the similar kind of output like dspmqaut.

setmqaut -m QM1 -n TEMP -t queue -p user1 +browse +get +put +inq +set +passid +passall +setid +setall
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Mar 22, 2012 1:33 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

So, can't you just do a replace of one string for another in the text file?
Back to top
View user's profile Send private message
mumsrinivas
PostPosted: Thu Mar 22, 2012 4:13 am    Post subject: Reply with quote

Newbie

Joined: 11 Mar 2011
Posts: 5

if no other option, then i will use the replace .
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Mar 22, 2012 5:36 am    Post subject: Re: dispay authorizations Reply with quote

Grand High Poobah

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

mumsrinivas wrote:
to remediate some issues, we need dspmqaut output as allmqi instead of detailed list i.e "get , browse , put , inq , set , passid , passall , setid , setall "


What issues? What difference does it make?

Also "allmqi" isn't a permission. It's a shortcut on the setmqaut command so you don't need to type out all the permissions. That's why everything that lists the permissions is giving you the list, because that's the permissions actually set on the object.

It's valid (and still a time saver) to issue 3 commands:

+allmqi
-setid
-setall

I still don't see the issue. Even if you're trying to script this to replicate permissions what's wrong with a longhand list? Why do you need to save the script some typing?
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » dispay authorizations
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.