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 » Read only UNIX account with MQ Access

Post new topic  Reply to topic
 Read only UNIX account with MQ Access « View previous topic :: View next topic » 
Author Message
GregJ
PostPosted: Tue Aug 20, 2002 6:15 am    Post subject: Read only UNIX account with MQ Access Reply with quote

Acolyte

Joined: 24 Oct 2001
Posts: 69
Location: Markham, On. Canada

Hi, I'm not to familiar with UNIX so forgive me if this is a stupid question.

I need to have a UNIX account that has only read access in the UNIX system. I do however need this account to be able to fully administer MQSeries (start stop channels, qmgrs etc...)

The problem is due to another group at the office who is responsible for MQSeries administration, well they keep screwing with our cron's. We want them to keep administering MQ - but leave the rest alone.

Do I just create a read only unix account and add it to the MQM group;
or is there another (more secure) way? I know there is setmqauth, but i don't know how to use it

Thanks in advance
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Aug 20, 2002 12:14 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Greg

You can't administer with just read permissions. You need to have executable permissions. If you want to use a command like "runmqlsr" and if you don't have the execute permissions to that executable then it throws an error.

You better try giving read and execute permissions to that user. However you can limit the permissions (exec permissions) to a few needed executables (pertaining to MQ).

Even if you set permissions using setmqauth you need to have execute permissions.

Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bduncan
PostPosted: Tue Aug 20, 2002 4:50 pm    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

It seems that they should only be able to "screw" with the cron jobs associated with the user they are logged in as. Perhaps you should migrate all MQ-related cron jobs to the mqm user, and any others to root?
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
GregJ
PostPosted: Tue Aug 20, 2002 5:31 pm    Post subject: Reply with quote

Acolyte

Joined: 24 Oct 2001
Posts: 69
Location: Markham, On. Canada

Would they need exe permissions to just start and stop channels and empty the odd queue here and there?

They are logging in as mqm currently

...And thanks for your reply
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Aug 20, 2002 6:33 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Yes you do need exe permissions even to start or stop a QM.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dgolding
PostPosted: Tue Aug 20, 2002 9:52 pm    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

Greg

If your users are logged in as mqm (or part of the mqm group) you should find they have NO special privilege outside of the /var/mqm and /opt/mqm directories. Removing execute rights for mqm can be dangerous as the queue manager needs to start jobs - e.g. trigger monitor and channel initiator processes.

As for cron, as Brandon points out, they should only be able to change "mqm"-owned cron jobs.

"Adjusting" permissions on directories and executables in the mqm directory can lead to a lot of grief.

HTH

regards

Don
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Read only UNIX account with MQ Access
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.