How to Reset your SUDO password on Steam Deck without losing your data



How to Reset your SUDO password on Steam Deck without losing your data

How to Reset your SUDO password on Steam Deck without losing your data

Did you set a SUDO password already? Have you forgotten your SUDO password? Don’t worry, we cover both of these in this video so you can get your admin privileges without losing any data.

Support us on Patreon: https://patreon.com/steamdeckgaming
Twitter: https://twitter.com/SteamDeckGaming
Discord: https://discord.gg/z4p4XVpUZJ

Steam Deck Tech Links:
Rii I4 Media Keyboard: https://amzn.to/37Gnvux
Steam Deck Carrying Case: https://www.jsaux.com/products/steam-deck-carrying-case?sca_ref=2323406.GtiWJy725k&sca_source=Youtube
JSAUX Dock: https://www.jsaux.com/products/upgraded-docking-station-for-steam-deck?sca_ref=2323406.GtiWJy725k&sca_source=Youtube
Steam Deck Screen Protector: https://www.jsaux.com/products/steam-deck-screen-protector-1?sca_ref=2323406.GtiWJy725k&sca_source=Youtube
m.2 NVME: https://amzn.to/3z0TIYY
m.2 NVME Enclosure with USB C: https://amzn.to/3LPd7z3
Compatible USB-C Hub: https://www.amazon.co.uk/dp/B0912YCTS1?psc=1&ref=ppx_pop_dt_b_asin_title&_encoding=UTF8&tag=sdg081-21&linkCode=ur2&linkId=172d0f3c5d4f44a9efbc846a982b630a&camp=1634&creative=6738
A2/U3 Micro SD Card: https://www.amazon.co.uk/dp/B07RKL4L7Q?&_encoding=UTF8&tag=sdg081-21&linkCode=ur2&linkId=49619e025f549b415d07c4ad8b3f03b5&camp=1634&creative=6738

Steam Deck Recovery Image: https://store.steampowered.com/steamos/download/?ver=steamdeck&snr=
Steam Deck Recovery Page: https://help.steampowered.com/en/faqs/view/1b71-edf2-eb6d-2bb3
Rufus: https://rufus.ie/en/
Reddit Post with command line options: https://www.reddit.com/r/SteamDeck/comments/x4ho0g/comment/imvfce4/?utm_source=share&utm_medium=web2x&context=3

Command Line directly (1 line at a time):
sudo ~/tools/repair_device.sh chroot
rm -f /var/lib/overlays/etc/upper/passwd
rm -f /var/lib/overlays/etc/upper/shadow

Intro 0:00
Set Sudo Password 0:10
What if you forgot? 0:42
Create Recovery Media 1:13
Boot to Recovery Media 1:59
Clear password in recovery console 2:24
Reset Sudo Password 2:59

#steamdeck #steamos #sudo

Comments are closed.