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
- Run the following command to change the password of a user whose ID is
fen
tomyoldpw
. The ID is defined on the workstationmrt5
workstation, in theatfoder
folder.altpass atfolder/MRT5#fen;"myoldpw"
- Run the following command to change the password of a user whose ID is
fen
tomyoldpw
on themrt5
workstation without displaying the password.ocli plan altpass MRT5#fen password: xxxxxxxx confirm: xxxxxxxx
- Run the following command to change the password of a user whose ID is
fen
tomyoldpw
. The ID is defined in an active directory that is managed by Windows domain namedtrtson
.ocli plan altpass TRTSON\FEN;"myoldpw"