开机过程中
长按 Shift 进入grub mode
进入root shell
mount -o rw,remount /
chmod 440 /etc/sudoers
本文介绍了一种在系统启动过程中快速修复丢失的sudo权限的方法。通过长按Shift键进入grub模式,随后进入root shell并执行特定命令来重新设置sudoers文件的权限。
开机过程中
长按 Shift 进入grub mode
进入root shell
mount -o rw,remount /
chmod 440 /etc/sudoers
5888
6万+
2万+

被折叠的 条评论
为什么被折叠?