I am trying to run su or sudo on my CentOS 6.6 machine. Every time I try to execute either command, I get prompted for a password. After entering the password, the command simply hangs. I can ctrl+c it. I have already checked my /etc/hosts and added the $HOSTNAME to the 127.0.0.1 and ::1 line. I can login in as root with a hassel. I tried running strace on sudo (strace -o ~/sudotrace.txt sudo -i) and got following error:sudo: effective uid is not 0, is sudo installed setuid root?Doing an ls -l14 $ ls -l /usr/bin/sudo---s--x--x. 1 root root 123832 Oct 15  2014 /usr/bin/sudoThese permissions seems to be wrong according to what I read online. That still doesn't explain why su behaving strangely though.Any input would be greatly appreciated.Thanks
sudo and su hang indefinitely... stumped
centos;sudo;su