[OpenWrt Wiki] Resetting the root password
openwrt.org › troubleshooting › root_password_resetMar 03, 2018 · You only have to mount the root file system and set a new password with passwd and then trigger a restart. In fail safe mode, passwd will not ask for the old password (that you may have forgotten): root@(none):~# mount_root switching to jffs2 overlay root@(none):/rom/root# passwd Changing password for root New password: Retype password: passwd: password for root changed by root root@(none):/rom/root# reboot -f