this post was submitted on 13 Mar 2025
3 points (55.2% liked)

Steam Deck

16148 readers
374 users here now

A place to discuss and support all things Steam Deck.

Replacement for r/steamdeck_linux.

As Lemmy doesn't have flairs yet, you can use these prefixes to indicate what type of post you have made, eg:
[Flair] My post title

The following is a list of suggested flairs:
[Discussion] - General discussion.
[Help] - A request for help or support.
[News] - News about the deck.
[PSA] - Sharing important information.
[Game] - News / info about a game on the deck.
[Update] - An update to a previous post.
[Meta] - Discussion about this community.

Some more Steam Deck specific flairs:
[Boot Screen] - Custom boot screens/videos.
[Selling] - If you are selling your deck.

These are not enforced, but they are encouraged.

Rules:

Link to our Matrix Space

founded 3 years ago
MODERATORS
 

hi so i wanna change the sudo password for my steam deck but its forcing me to put the old password AND I DIDNT PUT ANY PASSWORD BEFORE so I NEED HELP

top 8 comments
sorted by: hot top controversial new old
[–] alexcleac@szmer.info 22 points 1 day ago (2 children)

If you haven’t set a password before, then it should be the default one: empty. Then, to use sudo you will need to set one by using passwd command.

In case if the password was set in the past: the only way would be to run factory reset, or restore from image.

[–] Kareemofficial@thelemmy.club 9 points 1 day ago

i tried running passwd deck then trying sudo passwd deck and it worked :D tysm

[–] bjoern_tantau@swg-empire.de 15 points 1 day ago

Booting from any rescue Linux system and removing or editing /etc/shadow in the overlay partition would work as well. No need for a factory reset.

[–] LodeMike@lemmy.today 7 points 1 day ago (1 children)

You have to manually edit /etc/shaddow

[–] Lemmchen@feddit.org 4 points 1 day ago (1 children)
[–] LodeMike@lemmy.today 12 points 1 day ago* (last edited 1 day ago)

You have to boot from another OS, mount the drive, then do it. If its LUKS protected you gotta open that first.

[–] Fubarberry@sopuli.xyz 2 points 1 day ago* (last edited 1 day ago) (1 children)

Have you installed anything else on your deck already in desktop mode, like Decky loader, emudeck, cryoutilities/etc?

Some of those have an option to set a default password to something like "deck". If you clicked through the setup on those it might have set a password without you realizing.

edit: Decky loader can temporarily set the password to "Decky!". It's supposed to remove the temp password after installation, but that's worth trying if you installed Decky. Right now I don't see a default password for emudeck or cryoutilities, but it's possible other deck install scripts might set one.

[–] Kareemofficial@thelemmy.club 2 points 1 day ago* (last edited 1 day ago)

i do have deckyloader, i also know it sets the password temporarily to "Decky!" i tried that and it didnt work D:, i didnt try the password "deck" yet i will try that in a sec (it didnt work either)