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 Java / JMS » what is the limit privilege does pcf need?

Post new topic  Reply to topic
 what is the limit privilege does pcf need? « View previous topic :: View next topic » 
Author Message
twfx
PostPosted: Wed May 30, 2007 12:58 am    Post subject: what is the limit privilege does pcf need? Reply with quote

Newbie

Joined: 23 May 2007
Posts: 2

What is smallest privilege does PCF connection need if we just want to use pcf to query queue and channel attributes.
for example
I create an unix account/group pcfread/pcfread, the create a channel TEST.PCF.C and a queue TEST.PCF.Q. set the macuser of channel TEST.PCF.C to pcfread. In order to query the all queue and channel attributes and stop start channel what privilege should I grant to pcfread using setmqaut command?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed May 30, 2007 1:07 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

AFAIK you need administrative authority to use PCF; otherwise the command server throws a 2035 at you. I use inqure calls to determine such things as attributes, which only need a user with +inq.

Not entirely certain if that's true via the Java interface. Not even entirely certain if it's still true via C; been a while....

Also uncertain I'd want anyone except an administrator to be stopping and starting channels. What's your requirement here? Or are you just reinventing a wheel by writing your own admin software?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Nigelg
PostPosted: Wed May 30, 2007 3:19 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

Have a look in here
http://www.mqseries.net/phpBB2/viewtopic.php?t=19246
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
Nigelg
PostPosted: Wed May 30, 2007 3:20 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

Have a look in here
http://www.mqseries.net/phpBB2/viewtopic.php?t=19246
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed May 30, 2007 3:29 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Ah - again my signature is vindicated.

But am I correct in saying that if "myuser" is given rights to place messages on the command queue, any PCF placed there will be executed? Not just a limited subset as the original poster was interested in?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Nigelg
PostPosted: Wed May 30, 2007 6:03 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

No.

All users who want to use the PCF interface have to be able to put msgs to the command queue for the command server to read, but the authority to execute the command represented by the msg is checked against the user who put hte msg to the queue. So, it is possible for a user to have the PCF equivalent of 2035 returned to the reply queue because the user putting the msg did not have sufficient authority to execute its command.
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed May 30, 2007 2:34 pm    Post subject: Reply with quote

Grand High Poobah

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

v6 has now specific authorizations for the channels.
These will allow you to display and there is an additional one to allow you to start /stop channels.
Check the manual....
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » what is the limit privilege does pcf need?
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.