Changes or removes the password for a user or account.
PASSWORD {(options}
TCL-I command.
A Sets an account password, rather than a user password. This option is effective in the SYSMAN account only; otherwise, it is ignored.
X Displays the password in hexadecimal characters.
Please enter user id:
(From SYSMAN account only)
Enter Account name:
(From SYSMAN account only with A option)
Enter current password:
Enter new password:
(From
a user account to change the user password)
Please re-enter your new password to verify:
Used from the SYSMAN account to change or remove a password from an account. Used from any account to change or remove the password for the current user.
If an incorrect password is entered at the 'Please re-enter your new password to verify:' prompt, the following message is displayed:
Your password does not verify!
The system redisplays the prompt
Enter new password:
If the PASSWORD command is entered from the SYSMAN account and an invalid account name is entered, the following message is displayed:
Invalid Account
Assume an existing account "TESTACC" with a password "TST". The password is to be changed to "PASSTEST" as shown in examples 1 and 2. These examples illustrate changing the password with and without the hexadecimal X option, respectively. The A option is required to change an account password.
:PASSWORD (A)
Enter Account name:TESTACC
Enter new password:PASSTEST
Please re-enter your new password to verify:PASSTEST
:PASSWORD (XA)
Enter Account name:TESTACC
54695354656767 Enter new password:PASSTEST
5065535354695354 Please re-enter your new password to verify:PASSTEST
5065535354695354
This example shows the PASSWORD command being used to remove a user password (not the account password).
:PASSWORD
Enter current password: RETURN
Enter new password: RETURN
Please re-enter your new password to verify: RETURN
This example shows changing a user's password from the SYSMAN account.
:PASSWORD
Please enter user-id:EMP7158
Enter new password: RETURN Please re-enter your new password to verify: RETURN