(solved) HOW DO I CHANGE THE SUDO PASSWORD FOR MY STEAM DECK WITHOUT KNOWING THE OLD PASSWORD??????
(solved) HOW DO I CHANGE THE SUDO PASSWORD FOR MY STEAM DECK WITHOUT KNOWING THE OLD PASSWORD??????
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're viewing a single thread.
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.
22 0 Replyi tried running
passwd deck
then tryingsudo passwd deck
and it worked :D tysm9 0 ReplyBooting 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.15 0 Reply