Steam Deck Quickie: Reset Forgotten Sudo/Deck Password (No Data Loss)

Published: 17 January 2023
on channel: MonroeWorld
5,220
78

In this video, we'll help you recover your lost/forgotten SUDO/deck user password that you probably set with the passwd command from the Konsole.

You'll need to create a Steam Deck recovery boot USB drive (see link for recommendation) and a mouse/keyboard will be extremely helpful in this process. In order to use the boot drive and a mouse and keyboard, you'll probably need a dock or at least a cheap USBC hub.

UPDATE 5/26/2023: I was asked if this process would work with a microSD card ... can you flash the recovery to it and boot from it to perform the task? The answer is: Yes.

Rufus
https://rufus.ie/en/

Steam Deck Recovery Image
https://help.steampowered.com/en/faqs...

SanDisk 16GB Ultra Dual Drive USB Type-C - USB-C, USB 3.1
https://amzn.to/3XC38U1

Konsole Commands
sudo ~/tools/repair_device.sh chroot
rm -f /var/lib/overlays/etc/upper/passwd
rm -f /var/lib/overlays/etc/upper/shadow

Text version:
https://www.reddit.com/r/SteamDeck/co...


Watch video Steam Deck Quickie: Reset Forgotten Sudo/Deck Password (No Data Loss) online without registration, duration hours minute second in high quality. This video was added by user MonroeWorld 17 January 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,220 once and liked it 78 people.