Sun Java System Message Queue 3.7 UR1 Administration Guide

User Manager Utility

The User Manager utility (imqusermgr) is used for populating or editing a flat-file user repository. The utility must be run on the same host where the broker is installed; if a broker-specific user repository does not yet exist, you must first start up the corresponding broker instance in order to create it. You will also need the appropriate permissions to write to the repository: on the Solaris or Linux platforms, this means you must be either the root user or the user who originally created the broker instance.

Table 13–13 lists the subcommands available with the imqusermgr command. In all cases, the -i option specifies the instance name of the broker to whose user repository the command applies; if not specified, the default name imqbroker is assumed.

Table 13–13 User Manager Subcommands



add [-i instanceName]

    -u userName -p password

    [-g group]

Add user and password to repository 

The optional -g option specifies a group to which to assign this user:




delete [-i instanceName]

    -u userName

Delete user from repository 

update [-i instanceName]

    -u userName -p password

    [-a activeState]

update [-i instanceName]

    -u userName -a activeState

    [-p password]

Set user’s password or active state (or both) 

The -a option takes a boolean value specifying whether to make the user active (true) or inactive (false). Default value: true.

list [-i instanceName]

    [-u userName]

Display user information 

If no user name is specified, all users in the repository are listed.  

In addition, the options listed in Table 13–14 can be applied to any subcommand of the imqusermgr command.

Table 13–14 General User Manager Options




Perform action without user confirmation 


Silent mode (no output displayed) 


Display version information [Any other options specified on the command line are ignored. ]


Display usage help