Linux下is not in the sudoers file解决方法

1.切换到root用户

2.在打开的配置文件中,找到root ALL=(ALL) ALL,在下面添加一行

xxx ALL=(ALL) ALL 其中xxx是你要加入的用户名称

posted @ 2016-03-12 20:10  haxianhe  阅读(139)  评论(0编辑  收藏  举报