userpassword
Use the userpassword command
to change the password for the specified user account. This command is designed
for administrators who need to change user passwords on ALOM accounts, but who
might not know what the user account passwords are. If you are trying to change
the password on your own ALOM account, use the password
command.
How to Use the userpassword
Command
Note: You must have u
level user permission to use this command.
At the sc> prompt, type the
following command:
sc> userpassword
username
where username is the name of the user account for which you want
to change the password.
When you use this command, ALOM does not prompt you for the existing password.
For example:
sc> userpassword msmith
New password:
Re-enter new password:
sc>
Passwords have the following restrictions:
- They must contain at least six characters. Only the first eight characters
are significant, so passwords longer than eight characters are treated as
though they only had eight characters.
- They must contain at least two alphabetic characters (uppercase or lowercase
letters) and at least one numeric or special character.
- They must differ from your login name and any reverse or circular shift
of your login name. For comparison purposes, uppercase and lowercase letters
are equivalent.
- The new password must differ from the old by at least three characters.
For comparison purposes, uppercase and lowercase letters are equivalent.
Related Information

ALOM configuration commands
ALOM shell commands
Types of ALOM commands
Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.