I've mistakenly run "sudo chown -R $USER:www-data /"
3760
What if I accidentally run command "chmod -R" on system directories (/, /etc, ...)
46919
How does sudo handle $HOME differently since 19.10?
13760
How do I grant sudo privileges to an existing user?
103069
How to fix 'sudo: no tty present and no askpass program specified' error?
66647
How do I add a user to the "sudo" group?
47042
Accidental chown under / as root
90328
sudo unable to resolve host localhost.localdomain
151042
I changed my hostname, why is my bash PS1 prompt unchanged?
39773
Quoting in ssh $host $FOO and ssh $host "sudo su user -c $FOO" type constructs
92883
/etc/profile not sourced for `sudo su`
16283
How to make `sudo` preserve $PATH?
94483
ERROR 1698 (28000): Access denied for user 'root'@'localhost' at Ubuntu 18.04
56480
sudo: /var/lib/sudo writable by non-owner (040777), should be mode 0700
66222
'sudo' not working after changing the permissions of '/usr' directory
100263
Root directory '/' locked after using chmod
106691
Accidentally deleted symlink libc.so.6 in CentOS 6.4. How to get sudo privilege to re-create it?
111046
sudo: /var/lib/sudo/navneet writable by non-owner (040777), should be mode 0700