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



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

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

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.

Rufus
https://rufus.ie/en/

Steam Deck Recovery Image
https://help.steampowered.com/en/faqs/view/1b71-edf2-eb6d-2bb3

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/comments/x16wcy/comment/imc4rfm/?utm_source=share&utm_medium=web2x&context=3

Comments are closed.