user password
Set or change the appliance password for the specified user. This command allows admin-level users to change their own password or the password for another admin-level, operator-level, or monitor-level user. Operator-level or monitor-level users can use the my password set command to change their own password.
LunaSH passwords must be at least eight characters in length,
and include characters from at least three of the following four
groups:
> lowercase alphabetic: abcdefghijklmnopqrstuvwxyz
> uppercase alphabetic: ABCDEFGHIJKLMNOPQRSTUVWXYZ
> numeric: 0123456789
> special (spaces allowed): !@#$%^&*()-_=+[]{}\|/;:'",.<>?`~
User Privileges
Users with the following privileges can perform this command:
>Admin
Syntax
user password [<userid>]
Argument(s) | Description |
---|---|
<userid> |
Specifies the user name of the user whose password you want to change. You can change the password for operator-level, monitor-level, or other admin-level users. Omit this parameter to change your own password. |
Example
lunash:>user password james Changing password for user james. You can now choose the new password. The password must be at least 8 characters long. The password must contain characters from at least 3 of the following 4 categories: - Uppercase letters (A through Z) - Lowercase letters (a through z) - Numbers (0 through 9) - Non-alphanumeric characters (such as !, $, #, %) New password: Retype new password: passwd: all authentication tokens updated successfully. Command Result : 0 (Success)