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 » Accounts + HPUX

Post new topic  Reply to topic
 Accounts + HPUX « View previous topic :: View next topic » 
Author Message
Blomman
PostPosted: Wed Feb 14, 2007 2:45 am    Post subject: Accounts + HPUX Reply with quote

Master

Joined: 31 Oct 2006
Posts: 230

Hi!

Running MQ 5.3 on HPUX 11..
Having these accounts: mqm, mqbrk, mquser and the accounts having passwords, i usally log in as root and then su - mqm without having to use password, but at password was set creating these accounts.

Now i want too lock these accounts and my question is, will it affect MQ in some way?

Best Regards!

/Micke
Back to top
View user's profile Send private message
dgolding
PostPosted: Wed Feb 14, 2007 4:32 am    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

Depends what you mean by locked - if you mean to block people logging directly on to it, so access is *only* via. "su". This is a normal procedure.

Just remember in your startup scripts on reboot to do a "su - mqm -c <start_qmgr_script>
Back to top
View user's profile Send private message Visit poster's website
Blomman
PostPosted: Wed Feb 14, 2007 5:03 am    Post subject: Reply with quote

Master

Joined: 31 Oct 2006
Posts: 230

dgolding wrote:
Depends what you mean by locked - if you mean to block people logging directly on to it, so access is *only* via. "su". This is a normal procedure.

Just remember in your startup scripts on reboot to do a "su - mqm -c <start_qmgr_script>


yes this is what i mean idont want the accounts to be able to log in directly, ok then i can lock them..

Yepp my scripts use "su -c mqm <strmqm_etc>"

/Micke
Back to top
View user's profile Send private message
dgolding
PostPosted: Wed Feb 14, 2007 5:06 am    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

su - mqm -c is better, the first "-" ensures that the .profile is run so all PATHs are set up correctly (for instance)
Back to top
View user's profile Send private message Visit poster's website
Blomman
PostPosted: Wed Feb 14, 2007 5:33 am    Post subject: Reply with quote

Master

Joined: 31 Oct 2006
Posts: 230

dgolding wrote:
su - mqm -c is better, the first "-" ensures that the .profile is run so all PATHs are set up correctly (for instance)


Yepp u right, i typed it wrong..
So i can now lock mqm, mgbrk etc using "passwd -l mqm" without any affect?
Just want too be 100% sure that no problems occure.

/Micke
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Feb 14, 2007 5:59 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

There's some stuff in the support information for Broker about locking accounts.

You might not be able to do this on all platforms.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
dgolding
PostPosted: Wed Feb 14, 2007 6:00 am    Post subject: Reply with quote

Yatiri

Joined: 16 May 2001
Posts: 668
Location: Switzerland

Well, there will be an effect, you won't be able to log into those accounts....

But AFAIK you should be OK for MQ running with the account locked - it spawns other processes directly via. fork() [AFAIK] so this should be OK.

I suppose similar for "mqbrk" and "mquser" but I don't use those so I can't tell you. Good luck....

E&OE [Errors & Omissions Excluded]
Back to top
View user's profile Send private message Visit poster's website
Blomman
PostPosted: Wed Feb 14, 2007 6:34 am    Post subject: Reply with quote

Master

Joined: 31 Oct 2006
Posts: 230

jefflowrey wrote:
There's some stuff in the support information for Broker about locking accounts.

You might not be able to do this on all platforms.


Can u show me where to find this "support information for Broker" i cant find it.

/Micke
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Feb 14, 2007 6:38 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I don't mean anything more specific than http://www-306.ibm.com/software/integration/wbimessagebroker/support/
_________________
I am *not* the model of the modern major general.
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 » Accounts + HPUX
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.