Changing passwords on AIX and Linux systems using the Command Line Interface (CLI)

Use the changepasswords_noX.sh script to change the passwords for IBM Spectrum Control on an AIX® or Linux® server that does not have the X Windows System installed.

Before you begin

Attention: It is recommended that you use the GUI password tool. However, if you use the non-GUI password tool for future updates, then do not use the GUI password tool to update your passwords on the same system at a later time or the IBM Spectrum Control servers might not operate properly.

Before you use the changepasswords_noX.sh script, ensure that you know the existing passwords that you want to change. Stop the IBM Spectrum Control servers.

Use the following steps to change the Db2® password in the Windows, AIX, or Linux operating systems. Then, use the IBM Spectrum Control changepasswords_noX.sh script to update the IBM Spectrum Control servers to use the new passwords.

Procedure

To change a password in the AIX or Linux operating system, follow these steps:

  1. Log in as the root user.
    1. Run the following command:
      passwd username

      Where username is the user whose password you want to change.

    2. Enter the new password and confirm that new password is correct.

To use the IBM Spectrum Controlchangepasswords_noX.sh script to update the IBM Spectrum Control servers to use the new passwords, follow these steps:

  1. Open a command prompt and change the directory to the following directory:
    Spectrum_Control_Installation_dir/service
  2. Start the changepasswords_noX.sh script by running the following command:
    ./changepasswords_noX.sh
    
  3. Enter the corresponding option for the password that you want to change: tpc or db.
  4. Enter the same new password that you entered when you changed the user password in the operating system in Step 1.
  5. When you are finished using the changepasswords_noX.sh script, enter quit in the prompt window.