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 » Listing MQ AUTS

Post new topic  Reply to topic
 Listing MQ AUTS « View previous topic :: View next topic » 
Author Message
sridhsri
PostPosted: Tue Apr 21, 2009 7:54 am    Post subject: Listing MQ AUTS Reply with quote

Master

Joined: 19 Jun 2008
Posts: 297

I want to know if there is a way to list all the permissions of all users and of all objects in a queue manager.

The problem with dspmqaut is that it expects -p (user) or -g (group). I wanted this to work for all users and groups.

dmpmqaut and amqoamd also don't seem to give me the list of all users.

I even tried saveqmgr with the -z option. That also didn't seem to work. The OS has a huge number of users. I don't want to take the trouble of running the command against every one of them.
Back to top
View user's profile Send private message
Sam Uppu
PostPosted: Tue Apr 21, 2009 7:58 am    Post subject: Re: Listing MQ AUTS Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

sridhsri wrote:
I want to know if there is a way to list all the permissions of all users and of all objects in a queue manager.

The problem with dspmqaut is that it expects -p (user) or -g (group). I wanted this to work for all users and groups.

dmpmqaut and amqoamd also don't seem to give me the list of all users.

I even tried saveqmgr with the -z option. That also didn't seem to work. The OS has a huge number of users. I don't want to take the trouble of running the command against every one of them.


Not sure why do you want to do that. dmpmqaut should show all the groups & users which have permissions to MQ objects.

Why do you want to check all the users on the entire server?

Thanks.
Back to top
View user's profile Send private message
sridhsri
PostPosted: Tue Apr 21, 2009 8:00 am    Post subject: Reply with quote

Master

Joined: 19 Jun 2008
Posts: 297

dmpmqaut did not show me permissions of all users and groups. I only want to see the list of all users and groups that have some sort of access to the queue manager objects.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Apr 21, 2009 8:02 am    Post subject: Reply with quote

Poobah

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

Quote:
if there is a way to list

Do you literally mean you intend to print all that stuff on paper? Not very green or practical.

Is there an auditor lurking behind you somewhere? This is the kind of thing an auditor would request.
_________________
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
harish_td
PostPosted: Tue Apr 21, 2009 8:42 am    Post subject: Reply with quote

Master

Joined: 13 Feb 2006
Posts: 236

Can you share what happened when you did this?
amqoamd -m <QUEUE_MGR_NAME> -s > OAM_DUMP_QUEUE_MANAGER.txt
Back to top
View user's profile Send private message Yahoo Messenger
sridhsri
PostPosted: Tue Apr 21, 2009 8:48 am    Post subject: Reply with quote

Master

Joined: 19 Jun 2008
Posts: 297

Quote:
dmpmqaut and amqoamd also don't seem to give me the list of all users.


Let me be more clear then. amqoamd DIDN'T give me what I wanted.
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Tue Apr 21, 2009 9:24 am    Post subject: Reply with quote

Jedi Knight

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

why doesn't amqoamd give you what you want?
can you elaborate on your requirement?

Have you seen the MQDocument sample qmgr output at www.mqsystems.com/MQS-Solutions.html ?
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
sridhsri
PostPosted: Tue Apr 21, 2009 9:26 am    Post subject: Reply with quote

Master

Joined: 19 Jun 2008
Posts: 297

I checked with my colleague. The commands do not show users in the mqm group and therefore it didn't work.
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Tue Apr 21, 2009 9:30 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

sridhsri wrote:
I checked with my colleague. The commands do not show users in the mqm group and therefore it didn't work.


Cant you check the user repository to see who is in the group?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Apr 21, 2009 12:57 pm    Post subject: Reply with quote

Grand High Poobah

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

WMBDEV1 wrote:
sridhsri wrote:
I checked with my colleague. The commands do not show users in the mqm group and therefore it didn't work.


Cant you check the user repository to see who is in the group?

It so did work. Users in the mqm group have no individual need for authorization. Did the dump show you authorizations for the mqm group?

You need then to go to OS level to enquire about the group membership.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Tue Apr 21, 2009 2:55 pm    Post subject: Reply with quote

Poobah

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

By definition, members of the MQM group have all priviledges.
_________________
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
sridhsri
PostPosted: Tue Apr 21, 2009 4:13 pm    Post subject: Reply with quote

Master

Joined: 19 Jun 2008
Posts: 297

I know users in the mqm group do have all the permissions. But I was expecting the command the show that to me. I didn't want to have to open /etc/groups to see who is part of the mqm group.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Tue Apr 21, 2009 7:06 pm    Post subject: Reply with quote

Jedi Knight

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

sridhsri wrote:
I know users in the mqm group do have all the permissions. But I was expecting the command the show that to me. I didn't want to have to open /etc/groups to see who is part of the mqm group.


MQ profiles in OAM don't give authority based on user names, they are all based on group names. The only way to cross reference the group names listed by amqoamd to user names is to look at users that have secondary group members (in /etc/group) and primary group membership (look for the group's gid in /etc/passwd). Sorry if that makes life hard for you.
_________________
Glenn
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 » Listing MQ AUTS
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.