让sudo操作不输入密码 Posted on 2018-07-07 Views: Disqus: 假设你想让用户名为test的用户可以在使用sudo的时候不输入密码, 你需要修改文件/etc/sudoers.d/test(没有则创建),其中test为你的用户名。文件内容为: 1test ALL=(ALL) NOPASSWD:ALL