Ubiquiti
Recover access to Ubiquiti EdgeMAX and UniFi devices. UniFi hardware is controller-managed; EdgeMAX can be reset from the console.
This guide provides step-by-step instructions for resetting lost or forgotten administrative passwords on enterprise networking hardware. Follow the procedure below carefully to regain access while preserving your device configuration.
Before proceeding with password recovery, ensure you have a console cable, terminal emulation software configured to 9600 baud, and physical access to the device.
Connect your terminal cable to the console port of the device and open your serial terminal session.
Power cycle the hardware and issue a Break key sequence during initial system startup to enter ROMMON mode.
Bypass startup configuration loading, boot into system software, set your new credentials, and save changes back to non-volatile memory.
Two platform families behave differently. UniFi devices are adopted by a controller and have no meaningful local password. EdgeMAX (EdgeSwitch / EdgeRouter) have a local login recoverable from the console.
set system login user <name> authentication plaintext-password <new-password>commitsaveRestoring defaults erases the configuration — take a backup first where possible.