Bug 926

Summary: sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set mt@mt-MS-7728:~$
Product: Sudo Reporter: Carlos Rostro Garcia <crostrogarcia>
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED WORKSFORME    
Severity: high    
Priority: low    
Version: 1.9.0   
Hardware: PC   
OS: Linux   
Attachments: sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set mt@mt-MS-7728:~$

Description Carlos Rostro Garcia 2020-05-09 07:36:23 MDT
Created attachment 544 [details]
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set mt@mt-MS-7728:~$

sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
mt@mt-MS-7728:~$ 
It is the same as yesterday,when I try to write the "su chown root /usr/bin/sudo" it says that there is no password available. What do I have to do to boot as a single user. If I write chown root /usr/bin/sudo without the sudo, it says that changing ownership of root is not allowedchown root /usr/bin/sudo
chown: changing ownership of '/usr/bin/sudo': Operation not permitted
If your root user doesn't have a password set (as is the case on
Ubuntu) you will probably need to boot into single user mode to fix the
permissions.
Comment 1 Todd C. Miller 2020-05-09 07:58:39 MDT
Typically on Linux you need to add "single" to the kernel boot arguments.  See for example https://askubuntu.com/questions/132965/how-do-i-boot-into-single-user-mode-from-grub