【CentOS】grant root authority to normal user


[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


你可能感兴趣的:(centos,root,grant,authority)