Debian10 忘记密码 发表于: 2023年12月12日 2023年12月12日 分类: Linux系统, Ubuntu/debian 1、进入 grub 2、在 or quite 后面添加 init=/bin/bash 按下 Ctrl+X 或 F10 保存 3、进入命令行页面 4、mount | grep -w / 检查是否输出 ( rw,realtime ) ,若成功则表示您对文件系统具有实时读写权限, 否则执行 mount -n -o remount,rw / 5、执行 passwd username 修改密码 6、重启服务器 exec /sbin/init 文章导航 前一页 上一篇: MySQL修改root密码报错View ‘mysql.user’ references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them后一页 下一篇: Debian10 查看CUPS服务版本 张 存志 157RSS订阅