I've mistakenly run "sudo chown -R $USER:www-data /". Now I can't login through ssh, it shows this message "ssh_exchange_identification: read: Connection reset". What should I do now?
Asked
Active
Viewed 43 times
0
-
No, I haven't any backup. There is no way to rollback? – Hossain Mohammad Imran Mar 05 '21 at 18:54
-
or https://askubuntu.com/questions/452860/usr-bin-sudo-must-be-owned-by-uid-0-and-have-the-setuid-bit-set?noredirect=1&lq=1 – pLumo Mar 05 '21 at 22:02