0

I ran something like:

sudo chmod -R 777 /.  

In my Ubuntu 16.04 LTS it shows many errors on display, but anyway, the damage was done. Now I can't use sudo

sudo: error en /etc/sudo.conf, línea 0 mientras carga plugin 'sudoers_policy'
sudo: /usr/lib/sudo/sudoers.so sólo tener permisos de escritura por el propietario
sudo: error fatal, no se puede cargar los plugins

And besides of that I'm nervous about what else I have broken.

Is there a way to reestablish the right permissions of the system files?

I apologise for the English, that is not my native language.

Cristiana Nicolae
  • 4,570
  • 10
  • 32
  • 46

1 Answers1

4

The only way to undo that would be a tedious by hand process for which you would need to know all the files original permissions. Save yourself the headache, Use a live USB/CD in conjunction with an external drive to backup your /home folder and do a clean fresh install.

Videonauth
  • 33,815