Mirror for the latest build of Armbian for Amlogic arm64 SoCs (Debian Buster) Built by @150balbes
"sudo" breaks after a while.
Solution by migg:
chown root:root /usr/bin/sudo
chmod 4755 /usr/bin/sudo
chown root:root /usr/lib/sudo/sudoers.so
chmod 4755 /usr/lib/sudo/sudoers.so
chown root:root /etc/sudoers
chown root:root /etc/sudoers.d /etc/sudoers.d/README /var/lib/sudo
Or keep using sudo only through ctrl + alt + f3 / ssh
Ref: https://forum.armbian.com/topic/8288-how-to-fixsurvive-a-broken-sudo/?tab=comments#comment-62588