penso di aver fatto un errore micidiale a cui non riesco trovare una soluzione.
Questa mattina ho dato il seguente comando:
Codice: Seleziona tutto
sudo chmod -R 777 /etc Ora però mi sono accorto che tutte le operazione in cui viene chiesto l'accesso come root non funzionano.
Ad esempio se lancio un:
Codice: Seleziona tutto
sudo apt-get install ttf-mscorefonts-installervi allego anche il contenuto del file che viene citato nell'errore:sudo: /etc/sudoers is mode 0777, should be 0440
sudo: no valid sudoers sources found, quitting
Codice: Seleziona tutto
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
# Allow members of group sudo to execute any command after they have
# provided their password
# (Note that later entries override this, so you might need to move
# it further down)
%sudo ALL=(ALL) ALL
#
#includedir /etc/sudoers.d
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALLVi ringrazio in anticipo



