How to Reset Root Password on Steam Deck (2024)

The root password, also known as the superuser password, is a term commonly used in Unix-like operating systems, including Linux. The root account is the administrative account with unrestricted access and privileges to the entire system.

By default, Linux distributions often do not set a root password during installation. Instead, they rely on the use of the sudo (superuser do) command, which allows regular users to execute specific commands with temporary administrative privileges by providing their own user password.

However, if a root password is set on a Linux system, it grants full administrative access to the system. This password is typically known only to system administrators or users who require advanced access to the system.

Contents

  • 1 How to Set Root Password on Steam Deck
  • 2 How to Change Root Password on Steam Deck
  • 3 How to Reset Root Password on Steam Deck
    • 3.1 Reset Root Password on Steam Deck Using Recovery Mode

How to Set Root Password on Steam Deck

There are a few reasons why you might want to set a root password on the Steam Deck. For one, it will protect your Steam Deck from unauthorized access as they will be able to do anything that you can do, including installing software, changing settings, and accessing files.

It also can be helpful in the event that you are having problems with your Steam Deck and need to access the root user account to fix the problem. But perhaps the most common reason to set a root password on Steam Deck is to install apps and games that aren’t available through the Steam store.

  1. Press theSteambutton on your Steam Deck.
  2. Scroll down and selectPower.
  3. From thePower Menu, highlight and selectSwitch to Desktop.
    How to Reset Root Password on Steam Deck (1)
  4. Wait until your Steam Deck switches to Desktop Mode.
  5. Open the Konsole (terminal) app. To do this, click on the Steam button in the taskbar and search for Konsole.
    How to Reset Root Password on Steam Deck (2)
  6. Once Konsole has loaded, typepasswdand hit Return or Enter on your keyboard.
    How to Reset Root Password on Steam Deck (3)
  7. You’ll see a “New password” dialog appear in Konsole. Enter the password.
  8. Re-enter the same password to confirm.
  9. Once complete, you’ll see a message that says “password updated successfully”.

After you see that message, there’s nothing else that you need to do and you’ll have successfully set a root password on the Steam Deck. This will come in handy if you want to install some of the third-party apps and plugins that help to improve the overall experience on your Steam Deck.

How to Change Root Password on Steam Deck

Changing the root password in a Linux-based system can be beneficial for strengthening security by replacing the default or existing password with a unique and strong one. This helps safeguard the administrative privileges associated with the root account, preventing unauthorized access and protecting critical system files and settings. Changing the root password adds an extra layer of defense against potential security breaches and ensures that only authorized individuals with knowledge of the new password can gain unrestricted access to the system’s administrative capabilities.

  1. Press theSteambutton on your Steam Deck.
  2. Scroll down and selectPower.
  3. From thePower Menu, highlight and selectSwitch to Desktop.
  4. Wait until your Steam Deck switches to Desktop Mode.
  5. Open the Konsole (terminal) app. To do this, click on the Steam button in the taskbar and search for Konsole.
  6. Once Konsole has loaded, typesudo su.
    How to Reset Root Password on Steam Deck (4)
  7. When prompted, run the following command and hitReturn:
    • passwd
      How to Reset Root Password on Steam Deck (5)
  8. Enter your current root password.
  9. Enter a new root password.
  10. Enter the new root password again to confirm.

Just make sure that you don’t forget the new password or that you changed the root password, otherwise, you’ll need to proceed with the next section.

How to Reset Root Password on Steam Deck

The first method for resetting your root password is not for the faint of heart. This is because doing so means that you’ll actually be restoring your Steam Deck to its factory setting, removing all of the different games, apps, and preferences that you have already set up. Nevertheless, if you need to reset root password on Steam Deck, here’s how you can do so:

  1. Turn your Steam Deck on and make sure you’re logged in.
  2. Press theSteambutton on your Steam Deck.
  3. From the menu, scroll down and selectSettings.
  4. SelectSystem.
  5. Scroll down until you reach theAdvancedsection.
  6. Highlight and select theFactory Resetbutton.
  7. Select theFactory Resetbutton again to confirm.

How to Reset Root Password on Steam Deck (6)

After a few moments, your Steam Deck will reset itself back to the factory settings, removing all of your installed applications, games, and other files that may be on the device. Once the Steam Deck is finished rebooting, then you’ll be able to enjoy a fresh start and can go through the steps above to set a root password.

Reset Root Password on Steam Deck Using Recovery Mode

One method that you might want to check out if you don’t want to lose any of the data is to reset root password on Steam Deck using Recovery Mode. This is one of those “hidden” options that you have, but there are a few things to do first before being able to reset the root password. First, you’ll need a few things:

  • Windows or Mac computer
  • Wireless or Wired keyboard
  • USB Flash Drive or SD card with at least 8GB of storage.

Provided that you are equipped with everything you need, here’s how you can reset root password on Steam Deck using Recovery Mode:

  1. Download theSteamOS Recovery Imageto your computer.
  2. Plug the USB driveinto your computer.
  3. Open the appropriate Utility softwarebased on your computer’s operating system.
    • For Windows, Valve recommends usingRufus.
    • For Mac and/or Linux, Valve recommendsBalena Etcher.
  4. Follow the on-screen stepsto select the SteamOS recovery file and write it to the USB drive.
  5. Once the process is complete,eject the drivefrom your computer.
  6. Connect a USB hubto your Steam Deck.
  7. Plug inthe newly-created recovery drive.
  8. Shut downyour Steam Deck completely.
  9. Hold theVolume Downbutton.
  10. Press and release thePowerbutton.
  11. When you hear achime, release the Volume Down button.
  12. From theBoot Manager, select theEFI USB Device.
  13. Wait until you are booted into the Desktop environment.
  14. Connect a keyboard to your Steam Deck, preferably a wireless keyboard unless your Steam Deck is connected to a docking station.
  15. Double-click theTerminal with repair toolsoption on the Desktop.
  16. Enter the three following commands, hitting Enter after each one.
    • sudo ~/tools/repair_device.sh chroot
    • rm -f /var/lib/overlays/etc/upper/passwd
    • rm -f /var/lib/overlays/etc/upper/shadow
  17. Once all three have been successfully entered, restart your Steam Deck.
  18. Once rebooted, press theSteambutton on your Steam Deck
  19. Scroll down and selectPower.
  20. From thePower Menu, highlight and selectSwitch to Desktop.
  21. Wait until your Steam Deck switches to Desktop Mode.
  22. Open the System Settings app.
  23. Under thePersonalizationsection in the left sidebar, clickUsers.
  24. Highlight and select your user.
  25. Click theChange Passwordbutton under theEmail addressoption on the right side.
  26. Enter a new root password twice, ensuring that they match.
  27. Click theSet Passwordbutton.
  28. When prompted, click theChange wallet passwordbutton.
  29. Exit the System Settings app.

I have to admit that I’ve had to follow these steps a couple of times in the span of owning the Steam Deck. It might seem like a roundabout way just to change your root password, but these steps are necessary if you want to download and update different utilities that require root access. But the best part about this all is that you can follow these steps and won’t have to worry about losing any of the data on your Steam Deck.

How to Reset Root Password on Steam Deck (2024)
Top Articles
Latest Posts
Article information

Author: Ouida Strosin DO

Last Updated:

Views: 5973

Rating: 4.6 / 5 (76 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Ouida Strosin DO

Birthday: 1995-04-27

Address: Suite 927 930 Kilback Radial, Candidaville, TN 87795

Phone: +8561498978366

Job: Legacy Manufacturing Specialist

Hobby: Singing, Mountain biking, Water sports, Water sports, Taxidermy, Polo, Pet

Introduction: My name is Ouida Strosin DO, I am a precious, combative, spotless, modern, spotless, beautiful, precious person who loves writing and wants to share my knowledge and understanding with you.