HP StorageWorks XPath OS 7.4.X Command Reference Guide (AA-RVHCC-TE, September 2005)
XPath OS 7.4.x command reference guide 157
Changes a user’s password.
Synopsis
passwd [-u userName]
Availability
all users
Description
Use this command to change a password.
When changing a password, you are prompted to enter the old password and the new password, and
then you are prompted to confirm the new password.
An admin user can reset other users’ passwords to the default password—password—by using the
-u operand.
The maximum length of a password is eight characters.
Operands
The following operand is optional:
Examples
To change admin123’s password after logging in as admin123:
To reset user123’s password after logging in as admin:
See also
userAdd
userDel
userShow
passwd
-u userName Specifies a user name; available only for an admin user.
switch:admin> passwd
Old password:
New password:
Retyped new password:
The password is changed.
switch:admin> passwd -u user123
The password is changed.