Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
VGSources
Blog

How to Reset the Sudo Password on Steam Deck: 2 Methods

The Steam Deck sudo password is the local deck account password, not your Steam login. Here are the safe Desktop Mode steps and the advanced recovery-shell method for forgotten passwords.
Length7 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The Steam Deck’s “sudo password” is normally the password for its local Linux account, deck—not your Steam account password. If you know the current password, change it in Desktop Mode with passwd. If you forgot it, use an advanced recovery shell to run passwd deck. You should not factory-reset the Deck merely to change this password.

Choose the right method

Situation Use
You have never set a local password Method 1: create one with passwd
You know the current password and want to change it Method 1: change it with passwd
You forgot the current password Method 2: use a recovery shell
The Deck cannot boot or SteamOS is damaged Use Valve’s recovery options

What password is Steam Deck asking for?

sudo authenticates the currently logged-in Linux user. On a standard SteamOS installation, that user is usually deck. Its password is separate from your Steam account password, Wi-Fi password, PIN, and parental-control code.

As an Amazon Associate I earn from qualifying purchases.

Valve says a new Deck’s default deck account is shipped with no password set. That does not mean you should submit a blank password to sudo; you must first create one with passwd. See Valve’s SteamOS password guidance.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Before you begin

  • Save your work and connect the Deck to power.
  • For Method 1, use Desktop Mode.
  • For Method 2, have a physical USB or Bluetooth keyboard available.
  • Back up important files before changing boot or system state.
  • Confirm that the Deck is running standard SteamOS. Dual-boot systems and other Linux distributions may use different users, boot entries, and filesystem layouts.

Method 1: Change or create the password in Desktop Mode

This is the safest and simplest method when the Deck boots normally and you either know the existing password or have never set one.

#1 Best Overall
Valve Steam Deck OLED 1TB Handheld Gaming Console
  • 1TB NVMe SSD
  • 1280 x 800 HDR OLED display with premium anti-glare etched glass, 7.4" Diagonal display size up to 90Hz refresh rate
  • Wi-Fi 6E
  • 50Whr battery; 3-12 hours of gameplay (content-dependent)
  • Carrying case with removable liner

1. Switch to Desktop Mode

From Game Mode:

  1. Press the Steam button.
  2. Select Power.
  3. Choose Switch to Desktop.

If Desktop Mode is not available, Valve also documents enabling it through Settings → Interface → Enable access to the Linux desktop. Labels can vary slightly by SteamOS version or language. Valve’s general guide covers both LCD and OLED Deck models; see Valve’s Desktop Mode instructions.

2. Open Konsole

Launch Konsole from the application menu, then run:

passwd

The prompts depend on your account’s current state:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • If a password already exists, enter the current password.
  • Enter the new password.
  • Enter it again to confirm.

The terminal will not display letters, dots, or asterisks while you type a password. That is normal; type it carefully and press Enter.

The passwd command changes the password for the current account. If you are logged in as the normal Deck user, you can also explicitly target that account with:

passwd deck

As an ordinary user, the account-specific form generally still requires authorization when an existing password is set. It is most useful from a privileged or recovery shell. The passwd manual explains the difference between changing your own password and changing another user’s password as the superuser.

3. Verify the new password

After passwd reports a successful change and returns to the shell prompt, run:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
sudo -v

Enter the new password when prompted. If authentication succeeds, the command normally returns to the prompt without visible output. This validates the credential without running a potentially destructive administrative command.

Method 2: Reset a forgotten password from a recovery shell

Use this method when the Deck boots normally but you no longer know the local deck password. This is an advanced, community-derived procedure. Valve documents SteamOS recovery and re-imaging, but its current public support pages do not provide a dedicated forgotten-password reset sequence using the bootloader.

Rank #2
VALVE Steam Deck OLED 512GB SSD + 16GB RAM (International Version) - 7.4"" inch, 90Hz, 1280 x 800px, SteamOS 3.0, Handheld Gaming Console, Black
  • International (UK) Version
  • 7.4” diagonal, HDR OLED, 1280 x 800 x RGB, up to 90Hz Refresh rate, High performance touch, <0.1 ms Response time, 1,000 nits peak brightness (HDR), 600 nits (SDR)
  • SteamOS 3.0 (Arch-based)
  • 512GB NVMe SSD, 16GB LPDDR5 on-board RAM (5500 MT/s quad 32-bit channels), microSD UHS-I supports SD, SDXC and SDHC
  • 6 nm AMD APU, CPU: Zen 2 4c/8t, 2.4-3.5GHz (up to 448 GFlops FP32

The route below is commonly reported by Steam Deck users and follows general Linux recovery practice. Exact boot parameters, keys, filesystem behavior, and whether changes persist can vary with the SteamOS release, bootloader, dual-boot configuration, or system modifications. Do not treat it as a guaranteed procedure for every installation.

Enter a temporary root shell

  1. Fully shut down the Steam Deck.
  2. Hold the three-dot (…) button.
  3. Press the Power button.
  4. Continue holding the three-dot button until the SteamOS boot menu appears.
  5. Highlight the normal SteamOS entry.
  6. Connect and use a physical keyboard. Press E to edit the boot entry, if that key is shown or supported by the bootloader.
  7. Find the Linux boot line and append this temporary parameter:
init=/bin/bash
  1. Boot the edited entry using the key shown on screen—commonly Ctrl+X or F10, depending on the bootloader.

A root shell should appear. If the root filesystem is read-only, try:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
mount -o remount,rw /

Then assign a new password to the standard Deck account:

passwd deck

Enter the new password twice. When it succeeds, reboot:

reboot -f

Once SteamOS starts normally, open Konsole and verify the result:

whoami
sudo -v

In the normal setup, whoami should report deck. When sudo -v asks for a password, use the one you just created.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Important limits of this recovery method

  • It is not the same as booting a SteamOS recovery image.
  • Do not edit a Windows or other Linux boot entry on a dual-boot Deck.
  • An on-screen keyboard is not a reliable substitute at an early bootloader or root-shell prompt.
  • Changing a password normally does not target games, saves, or personal files, but advanced recovery carries risk if the wrong boot entry or filesystem is modified.
  • If the command does not persist after reboot, stop rather than repeatedly changing files or deleting authentication data.

Community discussions describing this route include this recovery-shell report and another physical-access recovery discussion. General Linux recovery concepts are covered by the Arch Linux lost-password guide.

Troubleshooting

“sudo” rejects the password

Check the basics first:

  • Make sure Caps Lock is off.
  • Check the keyboard layout and special characters.
  • Use the local Linux password, not the Steam account password.
  • Consider whether a password was ever set on this Deck.
  • Run whoami and confirm that you are using the expected deck account.

passwd reports “authentication token manipulation error”

This commonly indicates that the filesystem is read-only, you are not operating on the installed system, the installed root filesystem is not mounted, the SteamOS overlay layout differs from the instructions, or the installation has filesystem damage.

Do not blindly delete /etc/passwd, /etc/shadow, or overlay files. Incorrect changes can break authentication or SteamOS. If you cannot establish which filesystem you are modifying, use Valve’s recovery documentation instead.

Rank #3

The password changed, but sudo still fails

Run:

whoami

If the result is not deck, you may have changed the wrong account. A Deck running another Linux distribution may also use a different username or sudo configuration.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The Deck boots straight to Game Mode

Use Steam → Power → Switch to Desktop after desktop access is enabled. Do not assume that a terminal is available in Game Mode.

The new password is rejected

passwd can reject passwords that fail the system’s configured policy. Try a strong passphrase made from several words, with additional character types if the system accepts them.

The Deck uses Windows dual boot

The recovery procedure may target the wrong boot entry or filesystem. Identify the SteamOS entry carefully and avoid changing the Windows entry. If the setup uses a custom bootloader, recovery advice for an unmodified SteamOS installation may not apply.

If both methods fail: use SteamOS recovery carefully

Valve’s SteamOS recovery documentation distinguishes among rollback, erasing user data, factory reset, and reinstalling or re-imaging SteamOS. These are not interchangeable, and some erase local data.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use recovery media when the Deck cannot boot correctly, the operating system is damaged, or the password change will not persist after a careful recovery attempt. Back up anything important first and read the consequences of the exact option you select. A factory reset may remove the local password configuration, but it is disproportionate for a forgotten password and can affect local data.

Some community tutorials recommend chrooting from recovery media and deleting password-related overlay files. That is substantially riskier than setting the password with passwd deck; do not routinely remove files from /etc or /var/lib/overlays unless you are following version-specific, verified technical guidance.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Security and SteamOS update considerations

A local password helps sudo authenticate administrative commands, but it is not equivalent to full-device encryption. Someone with physical access to the Deck may be able to use boot or recovery procedures to alter a local password.

Changing the user password is different from modifying the SteamOS system image. Valve warns that unsupported system changes can put the device in a bad state, compromise data, or cause non-Flatpak installations to be removed by a future SteamOS update. Do not assume that every system-level modification survives an update. The password itself should be treated separately from changes made to the read-only system image.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Valve Steam Deck 1TB Upgraded Handheld Gaming Console with Carring case, 1280 x 800 OLED Display Silicone Soft Cover Protector & Joystic Cap & Tempered Glass Film Bundle
  • Valve is entering the gaming console marketplace with the new Steam Deck, a console geared towards PC gamers. The Steam Deck can be docked to a monitor, and used as a PC, or docked to a TV.
  • Players can play a huge variety of games at any time with the comfort of a console and the freedom of a PC. Not anti-glare screen.
  • Like the name suggests, the Steam Deck will include upgraded 1TB storage, and will include a carrying case. A micro SD slot will also enable expanded storage.
  • Valve partnered with AMD to create a specialized APU optimized for handheld gaming, and Valve says the chip will deliver performance to run AAA gaming titles.
  • The Steam Deck is outfitted with a 7-inch touchscreen, and two trackpads under the control sticks that allow gamers to operate games never designed outside of mouse and keyboard capabilities.

Final verification

After either method, run:

sudo -v

Enter the new local password. A successful check may show no output. sudo temporarily caches successful authentication, so later commands may not immediately prompt again.

Frequently Asked Questions

Is the Steam Deck sudo password the same as my Steam password?

No. It is normally the password for the local Linux account named deck. Your Steam account password is separate.

Can I reset the password without losing games or saves?

Changing the local password normally does not target game or save data. Advanced recovery still carries risk, so back up important files and avoid factory reset or erase-user-data options unless necessary.

Why does the terminal show nothing while I type?

Linux password prompts usually display no characters, dots, or asterisks. Type the password normally and press Enter.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Do I need a physical keyboard?

It is strongly recommended for the recovery-shell method because editing the boot entry and typing commands before Desktop Mode is available is unreliable with the on-screen keyboard.

Will changing the password affect my Steam games?

No, changing the deck account password is separate from your Steam account and game files. It does not sign you out of Steam or change ownership.

Can I remove the sudo password instead?

A passwordless administrative setup weakens local protection and is not recommended. Create a strong local password instead of deleting authentication files or changing system configuration without version-specific guidance.

What if I use Windows dual boot?

Be especially careful with Method 2: identify the SteamOS boot entry and do not edit the Windows or another Linux installation’s entry. Custom bootloaders can make the community procedure inapplicable.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

Bestseller No. 1
Valve Steam Deck OLED 1TB Handheld Gaming Console
Valve Steam Deck OLED 1TB Handheld Gaming Console
1TB NVMe SSD; Wi-Fi 6E; 50Whr battery; 3-12 hours of gameplay (content-dependent); Carrying case with removable liner
$970.17
Bestseller No. 2
VALVE Steam Deck OLED 512GB SSD + 16GB RAM (International Version) - 7.4'' inch, 90Hz, 1280 x 800px, SteamOS 3.0, Handheld Gaming Console, Black
VALVE Steam Deck OLED 512GB SSD + 16GB RAM (International Version) - 7.4"" inch, 90Hz, 1280 x 800px, SteamOS 3.0, Handheld Gaming Console, Black
International (UK) Version; SteamOS 3.0 (Arch-based); 6 nm AMD APU, CPU: Zen 2 4c/8t, 2.4-3.5GHz (up to 448 GFlops FP32
$878.00
Bestseller No. 3
Valve Steam Deck Handheld Console 256 GB (Renewed)
Valve Steam Deck Handheld Console 256 GB (Renewed)
Operating System: SteamOS 3.0
$617.77

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.