sudo su quit working; did not edit /etc/sudoers

Asked by jim

On Friday, I was able to use the "sudo su" command.
Today when I issue the "sudo su" command I get the response:

prewitt@ubuntu:~$ sudo su
sudo: must be setuid root
prewitt@ubuntu:

I have not attempted to edit /etc/sudoers

I have no idea what changed.

I installed under windows and it appears as a dual-boot option.
(Just for information purposes. I have been using this for a long time.)

Jim

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu sudo Edit question
Assignee:
No assignee Edit question
Solved by:
jim
Solved:
Last query:
Last reply:
Revision history for this message
Sam_ (and-sam) said :
#1
Revision history for this message
jim (send2jop) said :
#2

I appreciate the help, but neither of the above items helped.
It must be something really strange.
When I try to add myself as an admin, it says I am already there.
The /etc/sudoers file looks just like it should look.
The permissions look just fine.
If I don't find a way to fix it within the next hour, I will have to reinstall.
I have a project I am working on that I must proceed with.

Jim

Revision history for this message
Ufuk (ufukkilicaslan) said :
#3

Boot your system as root with recovery mode and change the ownerships and permissions:

chown root:root /usr/bin/sudo
chmod 4755 /usr/bin/sudo

then reboot again and try.

Revision history for this message
jim (send2jop) said :
#4

Wow! That fixed the problem.
I am back in business.
What do you think happened to cause the problem?

Thanks

-Jim