0
Loloknight

Orange Pi Plus2E root access

Recommended Posts

hello everybody,

 

I am new on the linux world but after some search and work , I managed to start my Orange Pi plus 2E  with a stretch image armbian 5.38 and everything is working well.

Recently after successfully installed several domotic solution like Jeedom and Zwave, I start to work on the integration of a 3G card, but I need to use some CLI to change parameters and it is when I discovered that I completely forgot Root password and the other SU abled user account.

 

Since everything is running from the eMMC, i cannot access to any fils in the OS as explain in some other discussion with card using SD card.

 

Is there a way to recover the forgotten password?

 

THank you in advance

Share this post


Link to post
Share on other sites

You will need to boot from SDCard, set proper well known passwords and accounts for this one.

Then, after booting, you can log as root and mount the eMMC, and copy/paste the lines from /etc/shadow from SDCard into eMMC one for each users you wish to restore.

Then, eject SDCard and reboot into eMMC ...

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0