Changing a User Password

Use the following procedure to change a user password:

Note: The lsmsdb -c chguserpw -u <username> command must be run on both the primary and the secondary servers to completely change the password.
  1. Log in as root, or as the user for which the password is going to be changed, and type your password.

    For more information, see Logging In to LSMS Server Command Line.

  2. Execute lsmsdb with the chguserpw command option:

    $ cd $LSMS_TOOLS_DIR

    $ lsmsdb -c chguserpw -u <username>

  3. When the following prompt appears, enter the current user password.

    Enter current password:
    

  4. When the following prompt appears, enter the new user password.

    Enter new password:
    

  5. When the following prompt appears, enter the new user password again.

    Re-enter new password:
    
    Note: If you did not enter the same password in Steps 3 and 4, the following warning is displayed:
    WARNING: Passwords must match. #
    In this case, go back to Step 1; otherwise, proceed with Step 6.

  6. If any other error or warning message displays, contact the My Oracle Support (MOS).