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 the credential definition includes mixed case letters.
- username
- Add the username specified in the credential definition. The username is case-sensitive.
- password
- You can specify the new password.
Examples
- Run the following command to change the password of a credential, whose ID is
fentomyoldpw. The ID is defined on the workstationmrt5workstation, in theatfoderfolder.ocli plan altpass atfolder/MRT5#fen;"myoldpw" - Run the following command to change the password of a credential whose ID is
fentomyoldpwon themrt5workstation without displaying the password.ocli plan altpass MRT5#fen password: xxxxxxxx confirm: xxxxxxxx - Run the following command to change the password of a credential whose ID is
fentomyoldpw. The ID is defined in an active directory that is managed by Windows domain namedtrtson.ocli plan altpass TRTSON\FEN;"myoldpw"