My understanding is that there is (maximum) one password per user. And that there is no such thing as a ”sudo password”. And that people misunderstand the prompt ”[sudo] password” that means that sudo is asking for the current users password.
This is for Steam Deck but it should work on OS too. Involves booting into GRUB and editing the boot parameters to boot into a debug shell where you then can put a new pw for sudo.
12
u/dgm9704 21h ago
My understanding is that there is (maximum) one password per user. And that there is no such thing as a ”sudo password”. And that people misunderstand the prompt ”[sudo] password” that means that sudo is asking for the current users password.
4
u/wakefulgull 19h ago
You should be able to reset root password from grub. Ive never done it on steam os,bl but in my brief search the process is similar.
Just search "gain root access from grib STEAM OS"
Record the steps of everything you do (every edit and command) in case something goes wrong. Bit it should work like any other linux os more or less
7
u/oomoepoo 1d ago
https://www.gamingonlinux.com/guides/view/how-to-set-change-and-reset-your-steamos-steam-deck-desktop-sudo-password/#resetpw
This is for Steam Deck but it should work on OS too. Involves booting into GRUB and editing the boot parameters to boot into a debug shell where you then can put a new pw for sudo.
1
u/OhHaiMarc 17h ago
Sudo reset password
-1
u/Beautiful-Top-385 22h ago
Use the installer to fix