i tried running passwd deck
then trying sudo passwd deck
and it worked :D tysm
Comment on HOW DO I CHANGE THE SUDO PASSWORD FOR MY STEAM DECK WITHOUT KNOWING THE OLD PASSWORD??????
alexcleac@szmer.info 2 weeks 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 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 2 weeks ago
bjoern_tantau@swg-empire.de 2 weeks 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.