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 » Using amqoamd to take copies of MQ objects permissions

Post new topic  Reply to topic
 Using amqoamd to take copies of MQ objects permissions « View previous topic :: View next topic » 
Author Message
hilltops
PostPosted: Thu Mar 02, 2006 1:51 am    Post subject: Using amqoamd to take copies of MQ objects permissions Reply with quote

Centurion

Joined: 01 Mar 2006
Posts: 112

IBM supplies the utility /opt/mqm/bin/amqoamd as a tool for taking and backing up copies of queue manager objects. However, in using this tool I notices I did not get authorities of principal associated with queue manager objects:

Illustration;
=======

On a Queue Manager called ADMINISTRATION, define a local queue called TRANSACTION;

DEFINE QLOCAL(TRANSACTION)

Then give the principal admin access to the queue with the command


setmqaut -m ADMINISTRATION -p admin -t queue -n TRANSACTION +allmqi

Then use the /opt/mqm/bin/amqoamd tool to take a copy of the permission just defines above;

/opt/mqm/bin/amqoamd -s

The authorities for the admin principal is not produced.

Has any one experience this perculiarity of this tool?
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Mar 02, 2006 2:20 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

What version and csd of mq?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
hilltops
PostPosted: Thu Mar 02, 2006 2:23 am    Post subject: Reply with quote

Centurion

Joined: 01 Mar 2006
Posts: 112

Sorry, I failed to mention this. I'm using Version 5.3 CSD 07
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Mar 02, 2006 2:35 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

windows, solaris, aix, iSeries .... ?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
wschutz
PostPosted: Thu Mar 02, 2006 2:39 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

and one more questiion..I assume that if you do a dspmqaut you see the profile and that when you try accessing TRANACTION from "admin" youdon't get a 2035 .... does this only happen for 1 queue, or all queue you add?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
hilltops
PostPosted: Thu Mar 02, 2006 2:40 am    Post subject: Reply with quote

Centurion

Joined: 01 Mar 2006
Posts: 112

OK, platform is Linux.
Back to top
View user's profile Send private message
hilltops
PostPosted: Thu Mar 02, 2006 2:47 am    Post subject: Reply with quote

Centurion

Joined: 01 Mar 2006
Posts: 112

Without the setmqaut defined, I get and error (2035) when I try to access the queue (and all other queues on the QM). With setmqaut I am correctly able to access the queues.

dspmqaut correctly outputs the various authorisations for the queues.

Thankx
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Mar 02, 2006 3:09 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

I get this for V5.3, csd 9:

Quote:
[wschutz@fc4 ~]$ setmqaut -m WSCHUTZ -p admin -t queue -n TRANSACTION +allmqi
The setmqaut command completed successfully.
[wschutz@fc4 ~]$ amqoamd -s | grep TRANSACTION
setmqaut -m WSCHUTZ -n TRANSACTION -t queue -g wschutz +browse +get +inq +passall +passid +put +set +setall +setid +chg +clr +dlt +dsp
setmqaut -m WSCHUTZ -n TRANSACTION -t queue -g mqm +browse +get +inq +passall +passid +put +set +setall +setid +chg +clr +dlt +dsp
setmqaut -m WSCHUTZ -n TRANSACTION -t queue -g admin +browse +get +inq +passall +passid +put +set +setall +setid
The "principle" assignment has, of course, become a "group" assignment ....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
hilltops
PostPosted: Thu Mar 02, 2006 3:31 am    Post subject: Reply with quote

Centurion

Joined: 01 Mar 2006
Posts: 112

Hi Wayne,

I don't get this behaviour on csd 7. It appears to have no knowledge of the principal admin and nothing about that principal is output.

In any case, is it acceptable for the principal permission to have been converted to a group permission as on csd 9?

Thanx
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Mar 02, 2006 3:35 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

In unix, when you give a permission to a principle, you are in fact giving the permission to the principle's primary group....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
hilltops
PostPosted: Thu Mar 02, 2006 4:15 am    Post subject: Reply with quote

Centurion

Joined: 01 Mar 2006
Posts: 112

Thanks Wayne,

It's now clearer to me how this feature works.
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 » Using amqoamd to take copies of MQ objects permissions
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.