重置 root 密码

如果您忘记了 root 密码或 root 密码不再有效,您必须使用 Failsafe Mode and Factory Reset

从那里,您不必重置整个配置。 请注意,故障安全模式不需要密码来验证 root ( ! )

您只需挂载根文件系统并用 passwd 来设置新密码,然后触发重启。 在故障安全模式下, passwd 不会询问旧密码(您可能已经忘记了):

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
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2022/11/05 12:18
  • by heybrowhatsup