给用户添加sudo权限

  • 切换到root模式,编辑etc/sudoers
[hadoop@localhost /]$ su root
Password:
ABRT has detected 1 problem(s). For more info run: abrt-cli list
[root@localhost /]# ls -l|grep sud
[root@localhost /]# cd /etc
[root@localhost etc]# find . |grep sudoers
./sudoers
./sudoers.d
[root@localhost etc]# nano sudoers
[root@localhost etc]#


posted @ 2017-12-21 15:38  crr121  阅读(136)  评论(0编辑  收藏  举报