Greetings
I dont know about you all but i still did not find an image of Armbian that installs without broken permissions issue.
my box is T95R Pro S912 , 2/8 GB , i have tried every flavour of Armbian 9xxx running kernel 5xxx and tried every " gxm.dtb".
everytime is the same error when i type : sudo , i get this :
sudo : /usr/bin/sudo must be owened by uid 0 and have the setuid.............
I did some home work and fixed it this way;
- Ctrl + Alt + F3 , log in as root with the password you entered instead of 1234.
- Open terminal and type:
mount -o remount,rw /
passwd ( enter a new password to reset the old one )
chown root:root /usr/bin/sudo
chown root:root /usr/lib/sudo/sudoers.so
chown root:root /etc/sudoers
chown root:root /etc/sudoers.d/README
chmod 4755 /usr/bin/sudo
reboot
That's it , this should fix the permissions issue and you can login as user and sudo without problems.
if i have missed something plz let me know.