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 » IBM MQ Security » Why doesn't setmqaut -all remove crt permission?

Post new topic  Reply to topic
 Why doesn't setmqaut -all remove crt permission? « View previous topic :: View next topic » 
Author Message
issac
PostPosted: Fri Feb 28, 2014 2:11 am    Post subject: Why doesn't setmqaut -all remove crt permission? Reply with quote

Disciple

Joined: 02 Oct 2008
Posts: 158
Location: Shanghai

Hello, experts, this is my screenshot:

Quote:


C:\Users\issac>dspmqaut -m MQVAS2 -p even -n TESTQ -t queue
实体 even 对于对象 TESTQ 具有下列权限:
get
put
crt

C:\Users\issac>setmqaut -m MQVAS2 -p even -n TESTQ -t queue -all
setmqaut 命令成功完成。

C:\Users\issac>dspmqaut -m MQVAS2 -p even -n TESTQ -t queue
实体 even 对于对象 TESTQ 具有下列权限:
crt

C:\Users\issac>



It shows that -all has no effect over crt permission.
I've also tried +all, which does not add crt permission too.

I looked it up in the InfoCenter. Unfortunately it just says

Quote:


alladm= chg、clr、crt、dlt、dsp、ctrl∩ctrlx
allmqi = altusr、browse、connect、get、inq、pub、put、resume、set∩sub



But it gave no info what "all" means. perhaps it's just too obvious... By intuition I would say all should be any permission available, but the above experiment shows it's not.
_________________
Bazinga!
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Feb 28, 2014 2:36 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Is there a generic profile that covers the same queue name?
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Fri Feb 28, 2014 7:01 am    Post subject: Reply with quote

Grand Master

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

Try -remove...
Back to top
View user's profile Send private message AIM Address
markt
PostPosted: Fri Feb 28, 2014 11:02 am    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 508

crt is not really a per-queue permission but dspmqaut shows it for historic reasons as it was the only query interface for ACLs at one time. It's really tied to the @class profile so it can't be removed from individual queues.

The newer dmpmqaut, dmpmqcfg and DISPLAY AUTHREC are all better and more flexible ways to look at permissions.
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Fri Feb 28, 2014 11:21 am    Post subject: Reply with quote

Grand Master

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

@markt

So, I don't see where you weighed in on this post which seems related to what you are saying...

Seems the new commands don't save/display everything...
Back to top
View user's profile Send private message AIM Address
fjb_saper
PostPosted: Fri Feb 28, 2014 2:11 pm    Post subject: Reply with quote

Grand High Poobah

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

If amqoamd shows a +crt permission, try removing it by running the same command but switching +crt to -crt.

Worked for me.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
issac
PostPosted: Fri Feb 28, 2014 4:41 pm    Post subject: Reply with quote

Disciple

Joined: 02 Oct 2008
Posts: 158
Location: Shanghai

Ok, got it. Thanks!
_________________
Bazinga!
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 » IBM MQ Security » Why doesn't setmqaut -all remove crt permission?
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.