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...
Смотрите видео Steam Deck Quickie: Reset Forgotten Sudo/Deck Password (No Data Loss) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь MonroeWorld 17 Январь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5,220 раз и оно понравилось 78 людям.