Last updated: 30 October 2026
The Aruba 8320 runs ArubaOS-CX, and its local user passwords are set with the user command in global configuration mode. This guide shows how to change the password for an existing local user, such as admin, create a new administrator, and save the change. Some older guides use a password <username> <new-password> command, which is not the ArubaOS-CX syntax.
- Command:
user <name> group administrators password plaintext <new-password>in configuration mode. - Save: run
write memoryso the change survives a reboot. - Test: open a second SSH session with the new password before you close the first.
In this guide
- Before you start
- Change a user password
- Create another administrator
- Save and verify
- If you lost the password
- FAQ
- Sources
Before you start
- You need console, SSH or REST access to the switch as a user in the administrators group.
- Keep a second session open while you test, so a typing mistake does not lock you out.
- Use a long, unique password. If your site uses RADIUS or TACACS+ for logins, keep one local administrator as a fallback.
Change a user password
- Log in to the switch and enter configuration mode:
switch# configure terminal switch(config)#
- Set the new password for the user. ArubaOS-CX accepts the clear-text form and stores it hashed:
switch(config)# user admin group administrators password plaintext NewStrongPassword123!
- Leave configuration mode:
switch(config)# end
A ciphertext form also exists (password ciphertext <hash>). It is meant for pasting a hash copied from another switch configuration, not for typing a new password.
Create another administrator
Use the same command with a new user name, then confirm it works:
switch(config)# user netadmin group administrators password plaintext AnotherStrongPass456!
Save and verify
- Save the running configuration to the startup configuration:
switch# write memory
- Open a new SSH session and log in with the new password.
- Only then close your original session.
If you lost the password
Without any working login you must use the switch console and the recovery steps for your ArubaOS-CX version, which are in the Aruba security guide for the 8320. Recovery usually involves a reboot, so plan a maintenance window.
FAQ
Does the password appear in the configuration in clear text?
The switch stores a hash of the password. Use the plaintext keyword only when typing a new password.
Which software version applies?
The command form above is used across ArubaOS-CX 10.x. Check the security guide for the exact version on your switch.
Can I use this on other CX models?
Yes. The 8325, 8360 and 6000 series use the same ArubaOS-CX user command.
Sources
More on this site: Security guides · All IT guides
Thank you for your message.