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
You have to manually edit /etc/shaddow
Submitted 1 week ago by Kareemofficial@thelemmy.club to steamdeck@sopuli.xyz
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
You have to manually edit /etc/shaddow
Without sudo? :D
You have to boot from another OS, mount the drive, then do it
Have you installed anything else on your deck already in desktop mode, like Decky loader, emudeck, cryoutilities?
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.
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
alexcleac@szmer.info 1 week ago
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 usingpasswd
command.In case if the password was set in the past: the only way would be to run factory reset, or restore from image.
bjoern_tantau@swg-empire.de 1 week 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.Kareemofficial@thelemmy.club 1 week ago
i tried running
passwd deck
then tryingsudo passwd deck
and it worked :D tysm