不输入密码施行sudo命令方法介绍

不输入密码执行sudo命令方法介绍1. shift进入recovery模式 2. 选中root账号 3. chmod 666 /dev/nullmount

不输入密码执行sudo命令方法介绍
1. shift进入recovery模式
2. 选中root账号
3. chmod 666 /dev/null
   mount -o remount rw /
4. nano /etc/sudoers

修改:
userOrAdmin    ALL=(ALL) NOPASSWD: ALL

userOrAdmin是指具体的用户或者组