摘要: 在各个不同版本的linux中添加拥有管理员权限账户有不同的简便方式。问题: 今天遇见将新添用户添加到root用户组后,运行sudo仍然提示 ”xxx is not in the sudoers file. This incident will be reported.“ 的问题。经过分析是在/etc/sudoers中的用户组未指定该组拥有所有权限。解决方法:最好不要将用户添加到root用户组,不妨我们新建个用户组sudo :使用命令 sudo groupadd sudo编辑/etc/sudoers:有些系统默认情况下不允许写该文件的,可使用命令:sudochmod u+w /etc/sudo. 阅读全文
posted @ 2013-08-08 11:40 蓝色冰晶 阅读(516) 评论(0) 推荐(0)