How do I reset the password on my IP or Analog KVM (AP5401 or AP5405 only) or Console Port Server (AP9301/AP9302/AP9303)?
Lost or forgotten password on an IP or analog KVM Switch or Console Port Server
• All serial numbers
• All firmware versions
Procedure needed for lost or forgotten password
- Terminal Access via a serial port to the device
- Console cable included with the KVM switch or CPS (RJ-45 to DB9)
- Ability to power down the device
- To read the procedure top to bottom prior to executing the instructions
- Establish a terminal session with the KVM or CPS by connecting the console cable to the RJ-45 Console Port on the KVM or CPS and the DB9 side to your computer.
Ensure that you have communication with the switch by pressing <enter> several times to display a login prompt.
- Reboot the KVM or CPS by turning the on/off switch to "off" for five seconds. Turn the KVM or CPS back on and you will see the Linux Operating System booting on the screen and scrolling information.
- While reading this scrolling information, wait for the line that begins with "Linux/PPC load:...." When you see this line, immediately type a <space> as many times as you need to for it to register a single space, then type the word single. This will boot you into "single user mode" where you can reset the password.
- When in single user mode, you will presented with a prompt. Use the passwd command to reset the password for the root account:
root@none #: passwd
New Password: <enter desired password>
Confirm new password: <confirm desired password>
In order to reset the password for the apc account, repeat the above procedure except changing the first line, as shown below:
root@none #: passwd apc
root@none #: New Password: <enter desired password>
root@none #: Confirm new password: <confirm desired password>
- After the above steps have been completed, issue the following command:
root@none #: saveconf
- The unit will save the configuration and then a reboot is required which will then allow you to login to the Linux OS.
root@none #: reboot
**If you have forgotten the username and password to the web interface of the KVM or CPS, you will need to access the Linux OS via terminal, and reset the KVM or CPS to defaults using the command below:
root@IP-KVM #: echo x > /proc/flash/script
root@IP-KVM #: reboot
The username and password for the web interface will now be reset to apc/apc.