su需要被切换用户的密码,比如root的密码,风险大
visudo 赋权root的部分执行权限。
Linux su和sudo的区别
原文:https://www.cnblogs.com/Brake/p/12208558.html