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 Discussion » [Solved] new user IDs

Post new topic  Reply to topic
 [Solved] new user IDs « View previous topic :: View next topic » 
Author Message
vivekkooks
PostPosted: Fri Jun 27, 2003 12:44 am    Post subject: [Solved] new user IDs Reply with quote

Voyager

Joined: 11 Jun 2003
Posts: 91

Hello,
I am new to MQSeries. I have installed MQSeries successfully on Linux/Intel.
I have tested the sample programmes for putting and getting messages.
The user mqm has all the access to the file systems(/opt/mqm and /var/mqm).
But when I created another user (adduser username) with group of mqm and tested the programs, I am getting authentication error.
(I changed group by chown user.mqm filename)
So, can anybody tell how to give access to different users so that that user can put and get messages from mqseries.

thanks,
Back to top
View user's profile Send private message
rwa
PostPosted: Fri Jun 27, 2003 1:46 am    Post subject: Reply with quote

Voyager

Joined: 22 Jan 2002
Posts: 76
Location: Duesseldorf/Germany

Users (principal in WSMQ words) or Groups must be granted access to WSMQ Resource. This has to be configured with setmqaut.
Access rights are shown with dspmqaut.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vivekkooks
PostPosted: Fri Jun 27, 2003 2:09 am    Post subject: Reply with quote

Voyager

Joined: 11 Jun 2003
Posts: 91

hello,
I have tried setmqaut -m testMQM -n TESTQUEUE -t q -p root +all.
and then run the put msg sample as root. But Still I am getting connect failed with reason code 2035.

Am I missing something?

vivek
Back to top
View user's profile Send private message
rwa
PostPosted: Fri Jun 27, 2003 2:55 am    Post subject: Reply with quote

Voyager

Joined: 22 Jan 2002
Posts: 76
Location: Duesseldorf/Germany

You also have to add the right to access the queue manager.

setmqaut -m testMQM -t qmgr -p root +all
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vivekkooks
PostPosted: Fri Jun 27, 2003 3:33 am    Post subject: Reply with quote

Voyager

Joined: 11 Jun 2003
Posts: 91

It worked successfully,

thanks
Back to top
View user's profile Send private message
opmind
PostPosted: Tue Jul 01, 2003 12:29 am    Post subject: Reply with quote

Acolyte

Joined: 04 Dec 2001
Posts: 68

This command runs well, but for my part as an System Engineer and MQS, I really don't agree to grant root to acces MQSeries objects...

Cyril
Back to top
View user's profile Send private message
rwa
PostPosted: Tue Jul 01, 2003 12:35 am    Post subject: Reply with quote

Voyager

Joined: 22 Jan 2002
Posts: 76
Location: Duesseldorf/Germany

I totally agree with you. But to get thinks running as a first test it's OK.

In an real Test-, UAT- and Produktionenvironment root should have no access to WSMQ.

Instead real or application users must be granted only the rights they need. This means no +all.

Rainer
Back to top
View user's profile Send private message Send e-mail Visit poster's website
opmind
PostPosted: Tue Jul 01, 2003 11:57 pm    Post subject: Reply with quote

Acolyte

Joined: 04 Dec 2001
Posts: 68

rwa wrote:
I totally agree with you. But to get thinks running as a first test it's OK.

In an real Test-, UAT- and Produktionenvironment root should have no access to WSMQ.

Instead real or application users must be granted only the rights they need. This means no +all.

Rainer


Yep, exactly... But on solaris root is granted by default... I still wonder why because on AIX it is not

Cyril
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 Discussion » [Solved] new user IDs
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.