Accidental chmod
Per ongeluk zoiets gedaan als sudo chmod -R 777 /
? Er is hoop:
- [1]: Dit was voor mij de oplossing (aug. 2020)
- Sudo werkte pas nadat ik iets deed met chmod vanuit opstarten in recovery mode: [2]
- SSH deed het pas na dit commando:
chmod 600 ~/.ssh/id_rsa
[3]
Bronnen
- https://askubuntu.com/questions/958141/fix-permissions-of-server-after-accidental-chmod
- https://askubuntu.com/questions/762541/ubuntu-16-04-ssh-sign-and-send-pubkey-signing-failed-agent-refused-operation
- https://askubuntu.com/questions/452860/usr-bin-sudo-must-be-owned-by-uid-0-and-have-the-setuid-bit-set/471503#471503