命令: visudo -f /etc/sudoers 在 “ root ALL=(ALL) ALL ” 下添加 “ 帐号名 ALL=(ALL) ALL ” 例如: test1 ALL=(ALL) ALL