You use the imqcmd and imqusermgr command line utilities to manage the broker. Before managing the broker, you must do the following:
Start the broker using the imqbrokerd utility command. You cannot use the other command line utilities until a broker is running.
Determine whether you want to set up a Message QueueTM administrative user or use the default account. You must specify a user name and password to use management commands.
When you install Message Queue, a default flat-file user repository is installed. The repository is shipped with two default entries: an admin user and a guest user. If you are testing Message Queue, you can use the default user name and password (admin/admin) to run the imqcmd utility.
If you are setting up a production system, you must set up authentication and authorization for administrative users. See Chapter 7, Managing Security for information on setting up a file-based user repository or configuring the use of an LDAP directory server. In a production environment, it is a good security practice to use a nondefault user name and password.
Set up and enable the ssladmin service on the target broker instance, if you want to use a secure connection to the broker. For more information, see Message Encryption.