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: Twitter: Discord: Steam Deck Tech Links: Rii I4 Media Keyboard: Steam Deck Carrying Case: JSAUX Dock: Steam Deck Screen Protector: m.2 NVME: m.2 NVME Enclosure with USB C: Compatible USB-C Hub: A2/U3 Micro SD Card: Steam Deck Recovery Image: Steam Deck Recovery Page: Rufus: Reddit Post with command line options: Command Line directly (1 line at a time): sudo ~/tools/ 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
Back to Top