首页 > 其他 > 详细

【CentOS】grant root authority to normal user

时间:2015-08-05 10:46:55      阅读:170      评论:0      收藏:0      [点我收藏+]


[root@beihang3 etc]# chmod a+w sudoers

[root@beihang3 etc]# vi sudoers

[root@beihang3 etc]# chmod a-w sudoers



## The COMMANDS section may have other options added to it.

##

## Allow root to run any commands anywhere

root    ALL=(ALL)       ALL

hadoop  ALL=(ALL)       NOPASSWD: ALL


本文出自 “黄超的IT笔记” 博客,请务必保留此出处http://huangchao.blog.51cto.com/10446378/1681755

【CentOS】grant root authority to normal user

原文:http://huangchao.blog.51cto.com/10446378/1681755

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!