修改/etc/sudoers文件,必須為visudo命令。

#visudo -f /etc/sudoers

像root    ALL=(ALL)   ALL 這樣增加你所需要的用戶

xxx  ALL=(ALL)  ALL