OK, I told my friend to do a bad bad thing (thankfully it's a brand new install). That is, set the whole usr directory so everyone could access it because he was getting really frustrated. chmod -R 777 /usr/* thinking it would make it so he had no problems accessing the directory under any account. Turns out that was a bad idea. Now he can't sudo.
sudo: must be setuid root
Any clue how to fix this? He is running Ubuntu. Also he can make it into Linux just fine, but he can't get root access from sudo. I'm not sure if he can login as root or not from the consoles. Can he reinstall sudo somehow? It looks like sudo just needs "setuid root" on it but I'm not sure how to do that.
Thanks in advance.
sudo: must be setuid root
Any clue how to fix this? He is running Ubuntu. Also he can make it into Linux just fine, but he can't get root access from sudo. I'm not sure if he can login as root or not from the consoles. Can he reinstall sudo somehow? It looks like sudo just needs "setuid root" on it but I'm not sure how to do that.
Thanks in advance.