altpass

You can use the altpass command to change the password of a user.

Overview

You can use the altpass command to change the password of a user specified in the user definition. The password change is temporary and valid only for the current run.

Syntax and command line options

You can enter the command as follows:
ocli plan altpass [[folder/]workstation#] username [;password]
The details that are required with each parameters are as follows:
Note: The [folder/]workstation# and ;password parameters are optional and theusername parameter is mandatory.
[folder/]workstation#
Specify the workstation where the user is defined. Optionally, you can provide the folder on your workstation. You must use uppercase letters when you add the workstation name, even if he user definition includes mixed case letters.
username
Add the user name specified in the user definition. The user name is case-sensitive.
;password
You can specify the new password. Leave the field blank if you do not want to use password for the current run.

Examples

  1. Run the following command to change the password of a user whose ID is fen to myoldpw. The ID is defined on the workstation mrt5 workstation, in the atfoder folder.
    altpass atfolder/MRT5#fen;"myoldpw"
  2. Run the following command to change the password of a user whose ID is fen to myoldpw on the mrt5 workstation without displaying the password.
    ocli plan altpass MRT5#fen
    password: xxxxxxxx
    confirm: xxxxxxxx
  3. Run the following command to change the password of a user whose ID is fen to myoldpw. The ID is defined in an active directory that is managed by Windows domain named trtson.
    ocli plan altpass TRTSON\FEN;"myoldpw"