I accidentlly changed ownership of /usr/bin/sudo to my current user (i also did this for some other stuff in my /usr directory). I can't change any of them back because I need ownership of /usr/bin/sudo to be root to do so. I do not have root access because I'm on an Amazon EC2 instance running linux.
Here's what I did (foolishly I know):
sudo chown -R currentuser.currentuser /usr/
I've also hosed a ton of other stuff in the process, but I think it can all be solved if I can reset ownership of /usr/bin/sudo
Please help. I'm brand new to Linux admin and am doing everything from the command line.
EDIT: I used -R in my sudo chown command.
EDIT2: I have most of my data on a separate, mounted EBS, but I'm awful with server admin and it'll probably take me an entire day to setup a new instance.
/usr, not for/usr/bin/sudo... – bdonlan Jul 13 '11 at 21:01-R:-/ – cnicutar Jul 13 '11 at 21:02