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.

Forgotten password for sudo (Tinkerbaord)

Featured Replies

I'm trying to update in Htoo_Armbian and being prompted for my [sudo] password. I almost always use one password for all my Linux devices, so I may have set up a password during initial install of Armbian--don't recall. How do I recover my password, enter a new one w/o reinstalling the whole OS?

  • Author

Should've added this to the query ... when Armbian boots up, I am not prompted for any Login information. 

ANYWAY ....  hey, folks .... ARMBIAN on TB has pretty much become useless to me. I either need to solve the pwd problem or I'll re-install the OS.

And here's the BIGGIE ... I may not re-install ARMBIAN  ... instead opting back to TinkerOS.

So let's play ball and try to FIX my current issue. Pretend my TB w/Armbian is connected to some important medical device ... say a drug-delivery device ... that needs to be fixed in situ. 

On 3/19/2021 at 4:33 PM, 13hm13 said:

I'm trying to update in Htoo_Armbian and being prompted for my [sudo] password. I almost always use one password for all my Linux devices, so I may have set up a password during initial install of Armbian--don't recall. How do I recover my password, enter a new one w/o reinstalling the whole OS?

 

Same way you would on any linux system.  Mount root filesystem on another device or boot from another image and put sdcard in usb reader.

 

Then chroot to the mounted filesystem and change password via passwd.

 

  • Author
18 hours ago, lanefu said:

 

Same way you would on any linux system.  Mount root filesystem on another device or boot from another image and put sdcard in usb reader.

 

Then chroot to the mounted filesystem and change password via passwd.

 

Hey, Toots ... how ya' doin'? Swell? Well, dats greaaaaaaaaaaaat. Dat aints no "SOLUTION".I tired doin' what ya said and got PERMISSION DENIED.

2 hours ago, 13hm13 said:

Hey, Toots ... how ya' doin'? Swell? Well, dats greaaaaaaaaaaaat. Dat aints no "SOLUTION".I tired doin' what ya said and got PERMISSION DENIED.

 

Hi friend, this is indeed the solution for a lost password. Sarcasm will not help this situation, and threatening to install TinkerOS is a don't care for us.

 

user@compy $ sudo -i
root@compy # mount /dev/mmcblk0p1 /mnt/armbian
root@compy # chroot /mnt/armbian
root@armbian # passwd <username>
New password: 
Retype new password: 
passwd: password updated successfully
root@armbian # exit
root@compy # exit
user@compy

 

Do note that if you've gummed up your sudoers file (eg - editing outside of visudo), no amount of password resets will permit user sudo to root.

  • Author
8 hours ago, tparys said:

Sarcasm will not help this situation, and threatening to install TinkerOS is a don't care for us.

Oh ,,,,, OKAAAAAAAAAAAAAAAAAAAAAAAYYYYYYYYYYYYYY!! 

;)

  • Author
6 hours ago, lanefu said:

 

Sorry bro that's all I can do for you.  

Which, to BEGIN with, wun't all dat much ............ NIIIIIIIIIIIIIIIIIIIIIIIIIIIIICCCCCCCCCCCCEEEEEEEEEEEEEEE!!! 

  • 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.