Changing a System Account Name or Password from the Command Line Interface

You can change the account credentials (username and password) for CommCell users from the command line interface.

Note

User accounts for domains are not updated. For information on domains, see Domains Overview.

Procedure

  1. Run the qlogin command to log on to the CommServe computer.

  2. Download the update_credentials_template.xml file to the computer where you will run the command.

  3. On the command line, go to software_installation_directory/Base, and then type the following command:

    qoperation execute -af path_to_update_credentials_template.xml -oldCredentials/userName "old_username" -newCredentials/userName "new_username" -newCredentials/password new_password

    where:

    • path_to_update_credentials_template/xml is the path the template file

    • old_user_name is the user name that you want to modify, in quotes

    • new_user_name is what you want to update the old username to, in quotes

      Note

      If you do not want to change the user name, enter the same value for old_user_name and new_user_name.

    • new_password is the new password that the user will use to log in

  4. Run the qlogout command to log off the CommServe computer.

You can define parameter values in the XML file:

Example

Changing the User Name and Password

The following command changes the username and password for a user named testUser:

qoperation execute -af C:\XML\UpdateCredentials.xml -oldCredentials/userName "testUser" -newCredentials/userName "mainUser" -newCredentials/password Pa$$w0rd

Changing Only the Password

The following command only changes the password for a user named testUser:

qoperation execute -af C:\XML\UpdateCredentials.xml -oldCredentials/userName "testUser" -newCredentials/userName "testUser" -newCredentials/password Pa$$w0rd
×

Loading...