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 » Removing all MQ authorizations

Post new topic  Reply to topic
 Removing all MQ authorizations « View previous topic :: View next topic » 
Author Message
hp1411
PostPosted: Thu May 12, 2016 4:06 pm    Post subject: Removing all MQ authorizations Reply with quote

Newbie

Joined: 17 Oct 2015
Posts: 9

Hello,

I messed up my queue manager authorizations while playing around with the settings and would like to remove all current authorizations for all objects(topics, queues, channels etc) and then set them up again

Is there a way to remove all current authorizations on the queue manager?

Unfortunately, i did not make a back up of the authorizations before i started monkeying around.

any help would be much appreciated.

Thanks
Back to top
View user's profile Send private message
hughson
PostPosted: Thu May 12, 2016 8:15 pm    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1959
Location: Bay of Plenty, New Zealand

There's no command that I can think of that would delete them all, but if you have a GUI MQ administration tool that allows you to select multiple things and then delete them, that would be one way. MQGem's MO71 does that, and I'm sure others do that too.

Cheers
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
smdavies99
PostPosted: Thu May 12, 2016 9:50 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

You could just take a dump of the QMGR configs using dmpmqcfg and remove all 'authrec' type records from the file.
Then delete the QMGR and apply the clean (i.e. uses all the default settings) set of objects to the new qmgr.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri May 13, 2016 1:52 am    Post subject: Reply with quote

Grand High Poobah

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

smdavies99 wrote:
You could just take a dump of the QMGR configs using dmpmqcfg and remove all 'authrec' type records from the file.
Then delete the QMGR and apply the clean (i.e. uses all the default settings) set of objects to the new qmgr.

Why remove all the authrecs when you can tailor your dump not to include authrecs??
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
markt
PostPosted: Fri May 13, 2016 2:29 am    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 508

Personally, I do it rather differently ... from a dummy queue manager I take the SYSTEM!AUTH!DATA!QUEUE file and copy it over the top of the file on the real (STOPPED) queue manager. That saves me having to recreate qmgrs frequently during testing cycles, getting back to a known state. Sometimes things like @class records may hang around otherwise.

This approach is not official, documented, guaranteed to work and all the other usual caveats.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri May 13, 2016 4:12 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

I'm guessing that you actually meant...
This approach is not official, not documented, not guaranteed to work, and all the other usual caveats.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 » Removing all MQ 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.