Brocade Fabric OS Command Reference Manual (53-1000240-01, November 2006)

Fabric OS Command Reference Manual 2-379
Publication Number: 53-1000240-01
passwd
2
Note: Enter commands in lowercase only; mixed case is for readability.
Use the following keys to control input:
Return When entered at a prompt with no preceding input, accepts the default value (if
applicable) and moves to the next prompt.
Ctrl-D (end-of-file) When entered at a prompt with no preceding input, terminates the command
without changing the password. This is valid on most computers; however, your
settings could be different.
N
ote
The execution of this command is subject to Admin Domain restrictions that may be in place.
Operands This command has the following operand:
"user" Specify the name of the user in quotation marks, where the password is to be
changed. This operand is optional and must be an existing account, either default
or user-created. You can only specify the name of the user when you are the level
of root>, factory or admin. If you try to change the password of a user level who
is equal or higher in hierarchy (for example admin changing the root password),
you are prompted to enter the current password of the level whose password is
being changed. If you try to change the password of a user level who is lower in
hierarchy, you are not prompted to enter the current password.
Examples To change the password for the admin user:
Diagnostics When failures are detected, the subtext might report one or more of the following error messages:
"user" is not a valid user name
You have not specified a user name that is a valid, recognized user name on the
system.
Permission denied You do not have permission to change the login name or password specified.
Incorrect password You have not entered the correct password when prompted for the old password.
Password unchanged You have entered the carriage return special input case, choosing not to change
the password.
Passwords do not match
You have not correctly verified the new password.
Invalid length of password
You have entered password length not between minlength and 40.
Insufficient number of lower case letters You have entered a password that contains less then the
minimum required number of lowercase characters.
Insufficient number of upper case lettersYou have entered a password that contains less then the
minimum required number of uppercase characters.
switch:admin> passwd "admin"
Changing password for admin
Enter new password:
Re-type new password:
Password changed.
Saving password to stable storage.
Password saved to stable storage successfully.
switch:admin>