|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
dispay authorizations |
« View previous topic :: View next topic » |
Author |
Message
|
mumsrinivas |
Posted: Wed Mar 21, 2012 11:20 pm Post subject: dispay authorizations |
|
|
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 |
|
 |
zpat |
Posted: Thu Mar 22, 2012 12:39 am Post subject: |
|
|
 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 |
|
 |
mumsrinivas |
Posted: Thu Mar 22, 2012 12:46 am Post subject: |
|
|
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 |
|
 |
zpat |
Posted: Thu Mar 22, 2012 1:33 am Post subject: |
|
|
 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 |
|
 |
mumsrinivas |
Posted: Thu Mar 22, 2012 4:13 am Post subject: |
|
|
Newbie
Joined: 11 Mar 2011 Posts: 5
|
if no other option, then i will use the replace . |
|
Back to top |
|
 |
Vitor |
Posted: Thu Mar 22, 2012 5:36 am Post subject: Re: dispay authorizations |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|