vim /etc/sudoers
user ALL=(ALL) NOPASSWD: ALL
参考文献:
https://blog.csdn.net/db_guy/article/details/79065524