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 Installation/Configuration Support » Dump all auth info on MQ 5.1?

Post new topic  Reply to topic Goto page Previous  1, 2
 Dump all auth info on MQ 5.1? « View previous topic :: View next topic » 
Author Message
HubertKleinmanns
PostPosted: Mon Feb 27, 2006 5:05 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

jefflowrey wrote:
mquseless wrote:
Quote:
[-p Principal | -g Group]

The [] brackets mean that the parameter is optional.
The description of dspmqaut says that authorities for all users for the named object are listed.


Yes. But the command doesn't actually FUNCTION the way it's documented to work.


I had this problem on Unix systems too. The short online help, the documentation in the manual and how the tool really works, were different for MQ version 5.1. What always worked (in my environments) was:

Code:
dspmqaut -m <your_qmgr> -t qmgr -p <your_principal>
dspmqaut -m <your_qmgr> -t q -n <your_queue> -p <your_principal>
dspmqaut -m <your_qmgr> -t qmgr -g <your_group>
dspmqaut -m <your_qmgr> -t q -n <your_queue> -g <your_group>

_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
HubertKleinmanns
PostPosted: Mon Feb 27, 2006 5:06 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

mquseless wrote:
In the book, rather than the online doc, the -n ObjectName is not in [] brackets, whch must mean that it is required. So, how about trying the command:

dspmqaut -m QMGR -n QUEUE -t q -n '*'

Generic permissions are available since MQ version 5.3, but unfortunately you cannot display these with dspmqaut. You have to use amqoamd -s -m <your_qmgr> instead.
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Mon Feb 27, 2006 5:13 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Tibor wrote:
A korn shell script 'saveauth':


Korn shell? On VMS?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Mon Feb 27, 2006 5:19 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

jefflowrey wrote:
... You haven't been paying attention ...

May be, but still the command dspmqaut only displays permissions for one object (queue etc.). You have to write a loop, to display all objects (like amqoamd does for version 5.3).

That's what I'm trying to say
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
Tibor
PostPosted: Mon Feb 27, 2006 5:24 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

jefflowrey wrote:
Tibor wrote:
A korn shell script 'saveauth':

Korn shell? On VMS?

(1) can run it even on winxp - over cygwin
(2) can run on vms with GNV (http://gnv.sourceforge.net/)

However, this is only an example for a VMS scripting guru.

Tibor
Back to top
View user's profile Send private message
billybong
PostPosted: Wed Mar 01, 2006 12:22 am    Post subject: Reply with quote

Disciple

Joined: 22 Jul 2005
Posts: 150
Location: Stockholm, Sweden

Tibor wrote:

However, this is only an example for a VMS scripting guru.


Too bad I'm not one of those then...
Thanks for the help guys, seems strange that the MQ developers didn't see the need for this until 5.3
_________________
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Integration Developer V6.0
IBM Certified System Administrator - WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere DataPower
Back to top
View user's profile Send private message Visit poster's website
HubertKleinmanns
PostPosted: Wed Mar 01, 2006 7:58 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

billybong wrote:
... seems strange that the MQ developers didn't see the need for this until 5.3

Billybong,

Unixers in 5.1 had the ksh script, in 5.2 there was another support pac and now they have amqoamd (which should exist on VMS too). So there were tools on the most used distributed plattforms.

Otherwise in the past Unix systems were quite small and used by one application exclusively. So security may have been no big issue. Nevertheless it was possible, to use the OAM, but only storing and cloning of the security was not built into the software.

Maybe it is possible, to copy the security files from your disk - I am not sure. At least you can get the permissions out of these files (in [...MQM.QMGRS.<your_qmgr>.AUTH] or so).
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Dump all auth info on MQ 5.1?
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.