Quantcast
Viewing all articles
Browse latest Browse all 3790

Troubleshooting • Re: Raspberry Pi Password Reset

On standard PiOS you can update / upgrade from the command line without having to use a password.
Open a terminal window and use

Code:

sudo apt updatesudo apt full-upgrade

That's an OS update not a password reset. And you're assuming that the student's user has passwordless sudo rights. Given the request for a password I suspect they don't.
Nowhere a I suggesting that this will reset the password...

And pls note my assumption that OP is using standard PiOS setup.
When trying to update from the taskbar you are asked for your password.
In the standard setup this can be circumvented by using the CLI... it's just a quick workaround...

Appologies. I did not mean to offend.

Different folks make different assumptions. I do my updates through the command line so assumed that a password prompt meant sudo required one. You assmued desktop which apparently always prompts.

Either of us could have made teh right assumption but as the OP didn't provide details we'll never know.

If they have passwordless sudo rights then opening a terminal followed by sudo passwd <username> can be used to change it. passwd without sudo cannot as it requires you to enter the old password.

Statistics: Posted by thagrol — Tue Apr 23, 2024 6:57 pm



Viewing all articles
Browse latest Browse all 3790

Trending Articles