Setting a Password to use sudo on the Steam Deck

In this quick guide, we will show you how to set a password so you can use sudo on your Steam Deck.

Steam Deck Set sudo Password

To run commands on your Steam Deck as the root/superuser, you must preface commands with the “sudo” command.

Sudo works by elevating the current user to having the same power as the root user. It is a crucial command when you need to modify any system files. You will also use sudo when installing software such as Decky on your device.

If you are familiar with Windows, the sudo command is a bit like the “Run as Administrator” prompt.

Before using sudo, you must set a password on your Steam Deck. By default, the system comes with no password set.

Luckily setting a password for sudo is a super straightforward process and involves running a single command within the terminal. Furthermore, the “deck” user on your Steam Deck is already set up with superuser privileges, so you don’t have to stress about that.

By the end of the following section, you can use sudo within the terminal.

How to set a Password to use sudo on the Steam Deck

To be able to set a password to use the sudo command on your Steam Deck you will need to open the terminal.

If you are unsure where to find this, please follow our guide on finding the terminal on the Steam Deck.

1. With the terminal on your device, you can now move on to setting a password so that you can utilize sudo on your Steam Deck.

The command you want to run within the terminal is the passwd command. This tool allows you to change the password of the current user.


2. You will now be prompted to enter a new password for the “deck” user on your Steam Deck.

Type in the password you want to use when elevating to superuser on your Steam Deck.

New password:

Please note as you type, your password will not appear in the command line.

3. Before the password is set, you will be asked to confirm it.

Type in your password again, then press the ENTER key.

Retype new password:

4. If you see the message below, you have successfully set a new password for your “deck” user.

passwd: password updated successfully

5. To test that everything works properly, let us try a simple command.

This command doesn’t do anything you couldn’t do without being a superuser, but it tests that the sudo password you set will work on your Steam Deck.

sudo echo "Hello"

6. For the command to work, you will now be asked to enter the password you set earlier in this guide.

Type in the password, then press the ENTER key to run the command.

[sudo] password for deck:

7. If everything works correctly, you should see the following message appear within Konsole on your device.



Hopefully, at this point, you will now understand how to set the password to use sudo on your Steam Deck.

By using sudo on your device, you can run commands as the superuser, allowing you to modify system files.

Please comment below if you have any questions about setting a password for the terminal on your device.

If you found this tutorial helpful, be sure to check out our many other Steam Deck tutorials.

Print Friendly, PDF & Email

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Server Status

Aradippou Chat 1 Chat 2 Larnaca Limassol Nicosia

Chat Links

Official Links.

1. Chat 1.
2. Chat 2.

Alternative Mirror Links.

1. KiwiIRC 1.
2. KiwiIRC 2.

Other Web Clients.

1. IrcCloud.

Recent Posts

Related Posts:



Super Club Radio

Mighty Deals


CyIRC Tweets

Scroll Up
Fatal error: Uncaught WMAC\JSMin_UnterminatedStringException: WMAC\JSMin: Unterminated String at byte 1180: "+o.accessToken}}).then(e=>{if(!e.ok)throw e;return e});return a.catch(e=>{console.error(`Failed to logout chatrix session. deviceId: ${o.deviceId}`)}),a}})(); in /home/bszucbfe/public_html/wp-content/plugins/clearfy/components/minify-and-combine/includes/classes/ext/php/jsmin.php:215 Stack trace: #0 /home/bszucbfe/public_html/wp-content/plugins/clearfy/components/minify-and-combine/includes/classes/ext/php/jsmin.php(157): WMAC\JSMin->action(2) #1 /home/bszucbfe/public_html/wp-content/plugins/clearfy/components/minify-and-combine/includes/classes/ext/php/jsmin.php(96): WMAC\JSMin->min() #2 /home/bszucbfe/public_html/wp-content/plugins/clearfy/components/minify-and-combine/includes/classes/class-main.php(375): WMAC\JSMin::minify('(function(){"us...') #3 /home/bszucbfe/public_html/wp-includes/class-wp-hook.php(324): WMAC_PluginMain->jsSnippetcacher('(function(){"us...', '/home/bszucbfe/...') #4 /home/bszucbfe/public_h in /home/bszucbfe/public_html/wp-content/plugins/clearfy/components/minify-and-combine/includes/classes/ext/php/jsmin.php on line 215