不输入密码执行sudo命令方法介绍 1. shift进入recovery模式 2. 选中root账号 3. chmod 666 /dev/null mount -o remount rw / 4. nano /etc/sudoers 修改:userOrAdmin ALL=(ALL) NOPASSWD: ALLuserOrAdmin是指具体的用户或者组