1.su 切成root 2.visudo (实际是修改/etc/sudoers文件) 3.找到"root ALL=(ALL)ALL" 4.在下面增加"‘用户名’ ALL=(ALL)ALL" 5.保存推出,OK