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 » Finding history of permission in MQ

Post new topic  Reply to topic
 Finding history of permission in MQ « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Wed May 13, 2009 1:22 pm    Post subject: Finding history of permission in MQ Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

To my wonder, when I did amqoamd -m qmgr -f, it did not only show the user which were removed ( revoked the permission), also displayed a whole lot more. Means, all the other users in other queue manager in that box. However, amqoamd -m qmgr -s does not. Is that what is supposed to be?

Also, dspmqaut does not display either.

I also have another problem. In one of the queue managers, I could not run amqoamd -m qmgr -s but I can still run amqoamd -m qmgr -f. Is there any difference in these two switches except the format how the data is displayed?

system info: WMQ: 6.0.2.2 and OS: Solaris 10
Thanks a lot


Last edited by jeevan on Thu May 14, 2009 8:19 am; edited 2 times in total
Back to top
View user's profile Send private message
jeevan
PostPosted: Wed May 13, 2009 2:18 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

When I run saveqmgr in order to see what it generates, the output gave me some insight.

For example, the ids amqoamd -f displays might be the whole ids which were authorised in the past but their permissions were revoked but with -s I can only get what requires to run in order to make currently permission.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Wed May 13, 2009 5:39 pm    Post subject: Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

Jeevan, be aware that Unix OAM only associates MQ authorities with Unix Group names. Userids (aka principals) are not stored in OAM.

When you see displays of userids, it is done by resolving whoever is in the authorised group at the time, as per the Unix security settings in /etc/passwd and /etc/group.
_________________
Glenn
Back to top
View user's profile Send private message
jeevan
PostPosted: Thu May 14, 2009 8:14 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

gbaddeley wrote:
Jeevan, be aware that Unix OAM only associates MQ authorities with Unix Group names. Userids (aka principals) are not stored in OAM.

When you see displays of userids, it is done by resolving whoever is in the authorised group at the time, as per the Unix security settings in /etc/passwd and /etc/group.


As I said, both amqoamd -f and saveqmgr -z command dumps all the users who are not active but were granted permission at some point. Is there a way to find out ( even programatically) that when these permission were granted and revoked?

we found a strange situation that permission of a certain users were revoked from a queue manager and I am eager to find when was that done.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu May 14, 2009 8:17 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I don't believe the OAM stores any audit trail of permission changes.

You can run saveqmgr -z on a daily or hourly basis and store the output under change control. But I don't think there's any way to get historical data.
Back to top
View user's profile Send private message
vol
PostPosted: Thu May 14, 2009 10:10 pm    Post subject: Reply with quote

Acolyte

Joined: 01 Feb 2009
Posts: 69

ask the registered admins of the system when they did it. if there are too many of them or they do not know, you have a serious security problem.
Back to top
View user's profile Send private message
gs
PostPosted: Fri May 15, 2009 5:23 am    Post subject: Reply with quote

Master

Joined: 31 May 2007
Posts: 254
Location: Sweden

vol wrote:
ask the registered admins of the system when they did it. if there are too many of them or they do not know, you have a serious security problem.


Agreed. Also, you might be interested in an MQ object deployment tool that has auditing capabilities.
Back to top
View user's profile Send private message
Pavan Kumar PNV
PostPosted: Mon Jun 01, 2009 1:22 am    Post subject: Reply with quote

Acolyte

Joined: 03 Feb 2007
Posts: 66

Yes, may be something like Appwatch from MQ Software. Any other tools you can think of?
_________________
_____________
Pavan Pendyala
http://pavanz.blogspot.com
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Michael Dag
PostPosted: Mon Jun 01, 2009 1:36 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

Pavan Kumar PNV wrote:
Yes, may be something like Appwatch from MQ Software. Any other tools you can think of?


You may want to look at MQDocument

Several topics exist on it's usage for example:
MQDocument Q&A
alternative to MS03 / saveqmgr and more ...
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
fjb_saper
PostPosted: Mon Jun 01, 2009 4:05 am    Post subject: Reply with quote

Grand High Poobah

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

Pavan Kumar PNV wrote:
Yes, may be something like Appwatch from MQ Software. Any other tools you can think of?

QPasa from the same supplier can do that for you too.
However this means that you have to strictly adhere to the tool for changing security on the object.

If you are really paranoid the only right way to determine approximately when is to take the output of saveqmgr -z or -Z and put it under source control. It will not tell you who though. Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jeevan
PostPosted: Tue Jun 02, 2009 8:36 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

fjb_saper wrote:
Pavan Kumar PNV wrote:
Yes, may be something like Appwatch from MQ Software. Any other tools you can think of?

QPasa from the same supplier can do that for you too.
However this means that you have to strictly adhere to the tool for changing security on the object.

If you are really paranoid the only right way to determine approximately when is to take the output of saveqmgr -z or -Z and put it under source control. It will not tell you who though. Have fun



Actually, we are not so much con concerned about the 'who' as we are only two of us. But some time, we have to do in hurry and not documented properly which later on become kind of burden. Some time, we also do verbal request, for which there is not documentation support. So, we just wanted to know when was done. if we could get who much better but not a problem.
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Jun 02, 2009 11:19 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

jeevan wrote:
Actually, we are not so much con concerned about the 'who' as we are only two of us. But some time, we have to do in hurry and not documented properly which later on become kind of burden.


Don't ever do security-related changes in a hurry

jeevan wrote:
Some time, we also do verbal request, for which there is not documentation support.


I do so hope you don't do this in Production...
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
jeevan
PostPosted: Thu Jun 04, 2009 9:30 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

exerk wrote:
jeevan wrote:
Actually, we are not so much con concerned about the 'who' as we are only two of us. But some time, we have to do in hurry and not documented properly which later on become kind of burden.


Don't ever do security-related changes in a hurry

jeevan wrote:
Some time, we also do verbal request, for which there is not documentation support.


I do so hope you don't do this in Production...


No not at all. In prod, we can not touch until change request is approved.
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 » Finding history of permission in MQ
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.