-2
sudo: /etc/sudo.conf is owned by uid 1000, should be 0
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

im unable to use sudo probably when i tried to change the acxess permisiion of read and write to every one:

(1) me group and others

(2)i ran this command i guess when i was updating snap and it was giving error

$ sudo chown -R aryan /

i just upgraded to 23.04 ubuntu im also unable to apen additional dri

enter image description here

ver app can find wifi bluetooth is buggy plzzz help it took me whole day to upgrade set customize my laptop

these are things what i tried

Raffa
  • 24,905
  • 3
  • 35
  • 79
  • 7
    If I were you, I would backup my data and reinstall Ubuntu ... You have recursively changed ownership of everything on your system and damaged it severely. – Raffa Aug 02 '23 at 09:38
  • Does this answer your question? [/usr/bin/sudo must be owned by uid 0 and have the setuid bit set](https://askubuntu.com/questions/452860/usr-bin-sudo-must-be-owned-by-uid-0-and-have-the-setuid-bit-set) – karel Aug 02 '23 at 09:39
  • 2
    `sudo chown -R aryan /` - This is one of those command you must never run - and now you know why. As Raffa says, you've damaged more than `sudo` with this command. – Artur Meinild Aug 02 '23 at 10:13
  • In future, please don't run random commands from the internet without knowing what they do. – Archisman Panigrahi Aug 02 '23 at 19:21

1 Answers1

1

The command sudo chown -R aryan / will destroy an Ubuntu system, making it unbootable. So that seems an unwise command for you to run.

Use a LiveUSB to preserve your data to some other media.

Then use the same LiveUSB to reinstall Ubuntu.

user535733
  • 58,040
  • 10
  • 106
  • 136