$ sudo gedit /etc/sudoers
........
%sudo ALL=(ALL:ALL) ALL
%spectre ALL=(ALL) NOPASSWD: ALL #用户添加免密码登录
........
ctrl + x ctrl + c #保存退出
ubuntu16.04 免密码
猜你喜欢
转载自blog.csdn.net/xixihahalelehehe/article/details/105641848
今日推荐
周排行