首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

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

2012-06-27 
不输入密码执行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是指具体的用户或者组

热点排行