Changing Appliance User Passwords

From time to time, you will need to change the password for a LunaSH account. This could be due to a password being compromised, or your company's security policy mandates password changes after a specific time interval. Individual users can change the password for their own account at any time. The admin or users with admin privileges may change the password for other accounts, including other admin-level accounts.

To change your own appliance user password

1.Connect to the appliance via SSH or a serial connection, and log in to LunaSH using your username and password (see Logging In to LunaSH).

2.Change your user password (see my password set).

lunash:>my password set

lunash:>my password set
 
Changing password for user admin.
 
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)
To change the password for a different user

1.Connect to the appliance via SSH or a serial connection, and log in to LunaSH as admin or a custom user with an admin role (see Logging In to LunaSH).

2.Change the password for a specified user (see user password).

lunash:>user password <username>

NOTE   admin-level users can also use this command to change their own password.

lunash:>user password operator
 
Changing password for user operator.
 
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)