Requirement to change nsroot password for NetScaler Agent.
If you need to update the nsroot
password for your NetScaler Agent (versions 13.1 or 14.1) via the command-line interface (CLI), follow these straightforward steps:
Procedure:
Access the NetScaler Agent CLI: Establish an SSH connection to the NetScaler Agent using the dedicated recovery user, nsrecover
, and the current nsroot
password.
ssh nsrecover@<NetScaler_Agent_IP_Address>
Replace <NetScaler_Agent_IP_Address>
with the actual IP address of your NetScaler Agent.
Initiate Password Change: Once logged in as nsrecover
, execute the following command to begin the nsroot
password modification process:
passwd nsroot
Enter and Confirm New Password: The system will prompt you to enter the new password for the nsroot
user. Type your desired new password and press Enter.
Enter new password:
Next, you will be asked to confirm the new password by retyping it exactly as you did before.
Retype new password:
Ensure that both entries match.
Successful Password Update: Upon successful confirmation of the new password, you will receive a confirmation message indicating that the nsroot
password has been updated.
Verify New Password (Optional but Recommended): You can now test the newly set nsroot
password by attempting to log in to the NetScaler Agent CLI using the nsrecover
username and the updated password.
ssh nsrecover@<NetScaler_Agent_IP_Address>
Enter the new nsroot
password when prompted. Successful login confirms the password change.
Note: Screenshots are from the LAB ADM Agent
How to Change the nsroot Password for NetScaler Agent Using CLI