Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Fix for broken " sudo "

Featured Replies

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.

Ghostdog, did you ever managed to get rid of this problem?

I bought a new sd card, downloaded a new image...after a month or so - the same problem

It seems that all the permissions are borked, not just sudo....but you first encounter it by doing a 'sudo'.

Thanks

  • Werner locked this topic
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.