出现问题:
[hadoop@namenode bin]$ sudo
sudo:
effective uid is not 0, is sudo installed setuid root?
问题解决:
在root权限下执行:
chown root /usr/bin/sudo
chgrp root /usr/bin/sudo
chmod
+s /usr/bin/sudo
然后OK!
CentOS6.4 sudo命令无法使用,布布扣,bubuko.com
原文:http://www.cnblogs.com/chao1118/p/3604420.html