FreeKB - Give a user access to a channel in IBM MQ using the runmqsc command
Give a user access to a channel in IBM MQ using the runmqsc command

Home > Search


Switch to the mqm user.

su - mqm

 

This assumes that the "mqm" users .bash_profile has been updated to have PATH=$PATH:<root installation directory>/bin.

Setup John Doe to be able to setup a connection on CHANNEL01.

echo "alter channel(CHANNEL01) chltype(SVRCONN) mcauser('JohnDoe')" | runmqsc MANAGER01

 

Then, grant JohnDoe the "connect" and "inq" permissions on MANAGER01 and the "all" permission on QUEUE01.

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter 6ae76 in the box below so that we can be sure you are a human.




Comments