摘要: [Build@Linux ~]$ su - rootPassword: [root@Linux ~]# vi /etc/sudoers在root下面添加Build ALL=(ALL) ALL,Build是我的用户名,把它改成你的用户名。## Allow root to run any commands anywhere root ALL=(ALL) ALLBuild ALL=(ALL) ALL然后esc进入命令模式,然后:wq!注:记得了是:wq! 不是:wq ,这是因为/etc/sudoers是只读文件,加上!是强制修改保存。 阅读全文
posted @ 2012-12-23 00:31 Yuan Ping 阅读(174) 评论(0) 推荐(0) 编辑