PDA

View Full Version : Can't Sudo or get to root



Mike_Hughes
May 12th, 2015, 10:44 PM
When I try to go to sudo su I get the following error - sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
macmike@ubuntuServer:/usr$. Was working just start this error. What do I do to fix this one. I can't start the server and log in as root either. I can't ssh in as root either. Gives me permission denied. I tried resetting root password and it will not let me. My mysql server will not start either.

I try to do anything with sudo I get - sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
I tried to chown and says not permitted.

QDR06VV9
May 12th, 2015, 11:55 PM
Run in terminal

ls -l /usr/bin/sudo
And paste back the return here.
Regards

shricharijigmail.
June 24th, 2015, 01:25 PM
could u pls help me fixing it?

dino99
June 24th, 2015, 01:32 PM
'sudo' is only used to grant root privileges, and must be followed by a command
https://help.ubuntu.com/community/RootSudo