Password reset or recovery
#1
Hi. I set aside my Pinebook Pro (with the default Manjaro) for a year while I was working on other things, and in the meantime I forgot my password. I don't have it set to require a password on boot, so I can get into the computer. But I can't perform any sudo commands or run the updater.

How can I get this to work?

Thanks,
Tessa
  Reply
#2
Can you boot from uSD?
If so, mount emmc, (lsblk to get right device node),
go to /mount-point/etc, edit shadow (you will need to be root, on uSD boot)
each line is an entry, fields are separated by ":"
the 2nd field is hashed password, about 60+ chars
so, for root what you want (for no password)
root:: .....and so on
IOW, make the 2nd field empty
  Reply
#3
(11-11-2024, 09:14 AM)wdt Wrote: Can you boot from uSD?
If so, mount emmc, (lsblk to get right device node),
go to /mount-point/etc, edit shadow (you will need to be root, on uSD boot)
each line is an entry, fields are separated by ":"
the 2nd field is hashed password, about 60+ chars
so, for root what you want (for no password)
root::  .....and so on
IOW, make the 2nd field empty

Thanks! I'll get a uSD and give it a try.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Nethunter default password failed lamlarryyyy 0 700 11-23-2023, 02:48 AM
Last Post: lamlarryyyy
  reset sound after suspend to memory (deep sleep) Der Geist der Maschine 16 19,527 10-18-2021, 07:31 PM
Last Post: Syonyk
  Kali Linux password fail Wawe 5 6,322 03-23-2021, 11:09 AM
Last Post: Wawe
  Manjaro Crashes after entering password. chastitywhiterose 5 6,214 12-23-2020, 05:20 AM
Last Post: wdt
  RealVNC and root password mspohr 6 9,567 10-20-2020, 06:01 AM
Last Post: regivanx
  @ in password hdk 0 2,193 11-04-2019, 02:22 PM
Last Post: hdk

Forum Jump:


Users browsing this thread: 5 Guest(s)