- 切换到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]#