CLI – Managing Spectrum Control Base users

All user accounts that can be used to access the IBM® Spectrum Control Base Edition must be individually defined.

You can either define (add) a single Spectrum Control Base user account, or define multiple user accounts to be used separately.

Use the sc_users CLI command to add, delete, or display user accounts, and also to change the password of any specific account. Use the required argument after the command, as specified in the following table. In addition, you can configure the password reuse policy, using the sc_setting CLI command.

Table 1. Arguments for sc_users
Argument Use after sc_users to:
add -n <username> -p <password>

or

add --user_name <username> --user_password <password>

Add the username and password of the user that may access Spectrum Control Base. You can add more than one user. The minimum password length is seven characters and it must include at least one letter and one digit.
For example:
sc_users add -n johnvc -p ********
change_password -n <username> -p <new password>

or

change_password --user_name <username> --user_password <password>

Change the password of a user account that was already added. The password that you type for the specified username is set as the new password. The minimum password length is seven characters and it must include at least one letter and one digit.
For example:
sc_users change_password -n johnvc -p **********
delete -n <username>

or

delete --user_name <username>

Delete a user account from the server.
For example:
sc_users delete -n johnvc
list Display the names of currently defined user accounts.
For example:
sc_users list
User list:
john_vc
zivkal_vc
lihit_vc
-h

or --help

Display help information that is relevant to sc_users.

You can also display help for the add_user, change_password, or delete_user argument if it is typed on the command line as well.

Table 2. User-related arguments for sc_setting
Argument Use after sc_setting to:
modify -n USER_PASSWORD_HISTORY_LEN -v <password retention number> Prevent the user to submit a new password that is the same as any of the prior passwords for that account.
For example, to prevent the user to submit a new password that is the same as the last four prior passwords, enter:
sc_setting modify -n USER_PASSWORD_HISTORY_LEN -v 4