2014年3月4日

RedHat Linux下普通用户无法使用sudo命令的解决方法

摘要: Ref:http://blog.sina.com.cn/s/blog_4aa35ca101012qb6.html装完linux系统,发现普通用户无法使用sudo 命令,提示:User1(普通用户)is not in the sudoers file, This incident will be reported.大概意思是说User1这个用户不在sudoers这个文件里,这个事件将要被报告的。我们可以这样做[User1@localhost~]$su -(切换到root)输入超级用户root密码[User1@localhost~]#chmod u+w /etc/sudoers(添加root对su 阅读全文

posted @ 2014-03-04 10:46 cslxiao 阅读(1254) 评论(0) 推荐(0) 编辑

导航