linux服务器配置root用户

修改 /etc/sudoers 文件,找到 ## Allows people in group wheel to run all commands下面一行,把 %wheel ALL=(ALL) ALL 前面的注释(#)去掉
最后:usermod -g root 用户名

Guess you like

Origin blog.csdn.net/AAliuxiaolei/article/details/120730802