码迷,mamicode.com
首页 > 其他好文 > 详细

【CentOS】grant root authority to normal user

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

标签:centos grant root authority


[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

标签:centos grant root authority

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!