Bug 926 - 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-...
Status: RESOLVED WORKSFORME
Product: Sudo
Classification: Unclassified
Component: Sudo
1.9.0
PC Linux
: low high
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-05-09 07:36 MDT by Carlos Rostro Garcia
Modified: 2020-05-21 16:26 MDT (History)
0 users

See Also:


Attachments
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set mt@mt-MS-7728:~$ (145.59 KB, application/octet-stream)
2020-05-09 07:36 MDT, Carlos Rostro Garcia
Details

Note You need to log in before you can comment on or make changes to this bug.
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