ubuntu16.04 免密码

$ sudo gedit /etc/sudoers
........
%sudo	ALL=(ALL:ALL) ALL
%spectre ALL=(ALL) NOPASSWD: ALL #用户添加免密码登录
........
ctrl + x ctrl + c  #保存退出
原创文章 223 获赞 57 访问量 12万+

猜你喜欢

转载自blog.csdn.net/xixihahalelehehe/article/details/105641848
今日推荐