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 » Remove Security from Queue Manager and Queues

Post new topic  Reply to topic
 Remove Security from Queue Manager and Queues « View previous topic :: View next topic » 
Author Message
ccooper
PostPosted: Mon Aug 30, 2010 7:32 am    Post subject: Remove Security from Queue Manager and Queues Reply with quote

Newbie

Joined: 26 Jul 2010
Posts: 9

Hello,

I am currently writng a script that will remove the security off the queue manager and the queues underneath that queue manager. After some reasearch I do not beleive you can just say remove all security from each object? So I have a line for each group that is using the -remove option. However I noticed that you cannot use this with -t qmgr.

How can I remove the security off the qmgr itself? I have been looking around but I cannot find anything. I hav about 9 groups that I want to remove.

Thanks for the help.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 30, 2010 7:42 am    Post subject: Re: Remove Security from Queue Manager and Queues Reply with quote

Grand High Poobah

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

ccooper wrote:
I am currently writng a script that will remove the security off the queue manager and the queues underneath that queue manager.


Why not just disable the OAM?

I'm guessing this isn't production....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ccooper
PostPosted: Mon Aug 30, 2010 8:14 am    Post subject: Reply with quote

Newbie

Joined: 26 Jul 2010
Posts: 9

Here is what I am trying to accomplish...

Currently most of our servers that MQ is running on our Domain Controllers. We are planning on demoting the servers to member servers which at that point the MQ objects will not have the appropriate security. So I need to do the following:
1. Remove current object security.
2. Add local groups and then add the domain local groups to them.
3. Re-apply the security for MQ with the new local groups.

I was hoping there was an easy way of removing the MQ security instead of doing one group at a time per queue. Also as I stated in my original post that I am having trouble removing the securty off the queue manager itself.

I hope the above gives a little more detail.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Aug 30, 2010 8:24 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You could always recreate the qmgr and then apply the appropriate set of permissions to the "new" qmgr.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 30, 2010 8:27 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
You could always recreate the qmgr and then apply the appropriate set of permissions to the "new" qmgr.




For what you're trying to achieve this is going to be the fastest / cleanest / easiest. It's certainly going to be a much simpler script than going through one authorization at a time (as you've discovered).
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ccooper
PostPosted: Mon Aug 30, 2010 9:03 am    Post subject: Reply with quote

Newbie

Joined: 26 Jul 2010
Posts: 9

That was my original thought as well but I thought I would check into otehr options. The only downside I guess to deleted the qmgr is having to reset sequence numbers if they go out of sync.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Aug 30, 2010 9:13 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The other thing to do is use something to dump out the current security in setmqaut format, and then hand-edit or write some scripting to change + to - and otherwise remove the security you want.

Then you could use that to remove the security.
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Sep 01, 2010 1:07 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

use the +remove or the -remove option to actually remove the profiles that you can get listed from amqoamd -s
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 » Remove Security from Queue Manager and Queues
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.