创建一个新用户跟root具有相同的权限
创建组 hadoop
groupadd hadoop
为 hadoop组添加一个hadoop用户
useradd -g hadoop hadoop
修改权限
vi /etc/sudoers
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
hadoop ALL=(ALL) ALL 此行为添加的
保存 重启