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 credential definition. The altpass command is equivalent to the following command that you can use to update the password.
ocli model modify [credential | user] username

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# parameter is optional and the username and password parameters are 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 credential definition includes mixed case letters.
username
Add the user name specified in the credential definition. The user name is case-sensitive.
password
You can specify the new password.

Examples

  1. Run the following command to change the password of a credential, whose ID is fen to myoldpw. The ID is defined on the workstation mrt5 workstation, in the atfoder folder.
    ocli plan altpass atfolder/MRT5#fen;"myoldpw"
  2. Run the following command to change the password of a credential 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 credential 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"