Reset or change the user details using VMware Skyline Health Diagnostics command line interface.
Prerequisites
Verify that you have root user credentials for the OS where VMware Skyline Health Diagnostics is installed.
Verify that you able to SSH or open VM Console from vSphere Client to a VM where VMware Skyline Health Diagnostics is installed.
Verify that you can log in using shd-admin
credentials to VM Console.
For more information about enabling the root user login on Photon OS, see: https://vmware.github.io/Photon/assets/files/html/3.0/Photon_troubleshoot/permitting-root-login-with-ssh.html (This configuration is not necessary for VMware SHD Appliance as by default it is configured to allow root user logins through SSH)
Procedure
- Open the appliance console using vSphere Client or Secure Shell (SSH) client.
- Log in as root user.
- Invoke the User Management by running command
shd-user
.
- When prompted, enter the password for
shd-admin.
Set the password for shd-admin
now, if you did not set it during the installation.
- To change password, select Change password for a user option from the menu.
- To reset the password, select Reset password for a user option from the menu.
- When prompted, enter the user name for which the action to be performed.
- If prompted, enter the current password to verify the password.
- Enter the new password and confirm it.
The password must contain at least 8 characters, have characters from 2 classes of Group 1 and from Group 2.
Valid Character Class Group 1: [a-z], [A-Z], [0-9]
Valid Character Class Group 2: [~!@#$%^&]
For example,
Thi1sISV@lid
ThisIsVali$Too
ThisisnotVal1d
Results
The password is successfully changed for the user.