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 15–15 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 15–15 User Manager Subcommands
Syntax
|
Description
|
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]
|
Delete user from repository
|
update [-i instanceName]
update [-i instanceName]
update [-i instanceName]
-u userName -p password
-a activeStatus
|
Set user’s password or active status (or both)
The -a option takes a boolean value specifying whether
to make the user active (true) or inactive (false).
An inactive status means that the user entry remains in the user repository,
but the user will not be authenticated, even if using the correct password.
Default value: true.
|
list [-i instanceName]
|
Display user information
If no user name is specified, all users in the repository are listed.
|
In addition, the options listed in Table 15–16 can be applied to any subcommand of the imqusermgr command.
Table 15–16 General User Manager
Options
Option
|
Description
|
-f
|
Perform action without user confirmation
|
-s
|
Silent mode (no output displayed)
|
-v
|
Display version information [Any other options specified on the command line are ignored. ]
|
-h
|
Display usage help
|