firemail
标题: uos登录密码重置方法 [打印本页]
作者: Qter 时间: 2022-6-21 20:02
标题: uos登录密码重置方法
1.重启电脑,在出现操作系统启动菜单时按“E”键,进入GRUB引导菜单界面。(把握不住按键时机的也可以在重启电脑的同时不停地按“E”)

2.找到“linux /vmlinuz-” 开头的行,在末尾添加 “ rw single init=/bin/bash ”,(通过光标移动 到此行的最后或 按 “Ctrl+E” 键),完成后按Ctrl+X 组合键 或 F10 进行重启。
3.按提示输入 passwd 用户名(需要重置的账号),回车,再输入一个新密码,回车,提示 passwd updated successfully ,表示新密码重置完成。
4.然后 按 Ctrl+Alt+Del 或 reboot -f重启电脑。注意:进入到单用户模式之后,reboot 和 shutdown 等命令都没有效果。
https://www.csdn.net/tags/MtTaEg4sNDU5MjczLWJsb2cO0O0O.html
作者: Qter 时间: 2022-6-23 09:52
https://www.cnblogs.com/dakewei/p/5933515.html
cannot set terminal process group (-1): Inappropriate ioctl for device
1.启动参数如下:- bootargs=root=/dev/nfs nfsroot=192.168.1.8:/opt/wheezy_fs ip=192.168.1.9:192.168.1.8:192.168.1.1:255.255.255.0::eth0:on init=/bin/bash console=ttySAC0,115200
复制代码 1.1错误信息如下:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
2.修改启动参数:- bootargs=root=/dev/nfs nfsroot=192.168.1.8:/opt/wheezy_fs ip=192.168.1.9:192.168.1.8:192.168.1.1:255.255.255.0::eth0:on init=/sbin/init console=ttySAC0,115200
复制代码 3.再次出现新的错误:
udevd[178]:unable to ctrl connection :function not implemented
对策:为内核打补丁,补丁地址如下:
https://github.com/genesi/linux- ... 2f9f982d7aafec6c288
欢迎光临 firemail (http://www.firemail.wang:8088/) |
Powered by Discuz! X3 |