I have done this:
sudo chown -R myname /usr/
and now I can't use the sudo command because of this error:
sudo: must be setuid root
And as I read this means that the owner of this file /usr/bin/sudo is not the root. It's my user now because of the chown on the /usr folder.
On many forums and blogs people suggest to do this as root:
# chown root:root /usr/bin/sudo
# chmod 4111 /usr/bin/sudo
...but the problem with this is that I need to log in as a root, but I can't because If I write su in the terminal the password is wrong (actually I use the password what I added to my user):
$ su
Password:
su: Authentication failure
So can I get back the sudo command?
Edit: My Ubuntu is under Paralells on my Mac OS X.
su, you will be prompted for root's password, not your user's password like withsudo. Do you know the root password for this machine?sudo chmod -R cirk:cirk /usrWhat were you trying to accomplish?