How to Change Password on Rasbperry Pi of any User (Raspbian)
Вставка
- Опубліковано 1 жов 2024
- This video will show you how to change the user password of any account on your Raspberry Pi (provided you are logged in with an account that has root privileges).
To change your current account password, you can go into the menu, go to preferences, and then Raspberry Pi configuration. There will be a button at the top of the system tab, that just says change password. Click it, and then put in your current and new password, and hit ok.
To do it through command line, to change the password of any user on the Pi, use the command:
sudo passwd pi
Where pi would get replaced by the username you want to change the password of. Just type the new password in at the prompts, and you'll be good to go.
If you want to list all of the current usernames on the machine, use
cat /etc/passwd
Check out my facebook at: / 198429346974010
or my twitter: / allhow2s
Or my website where I have a lot of other great tutorials (such as how to take a screenshot, or how to get the start button back on Windows 8): www.allhow2s.com
Would be easier to follow along and understand what you're talking about at each step if you could read what's being typed. Most people view youtube videos on their cell phone.
Thanks I forgot how to change my password 😭
Thanks
Totally lost. Changed pasword for 'pi', but unable to SSH from pc to RPi.
I forgot my passwd but i habe autologin on so i can reach desktop etc. What should i do?
If you have completely forgot your password, and it is the administrator password, you will have to do something like this: mapledyne.com/ideas/2015/8/4/reset-lost-admin-password-for-raspberry-pi
Take extreme care when editing files like this though, as it is incredibly easy to make the Pi unbootable if you change the wrong things. I would recommend reading multiple tutorials and double checking the steps before you attempt so you get it right the first time.
very useful ! thanks
Good video but I haven't used it in a bit I kinda forgot my pi password can I reset forgotten password if yes how
This has to be the best streamline video that I have watched. Thanks for the help.
Hello.. when I try to sign in with an sash it tells me it's an invalid password.. can you help.. thanks roy
Did you try to sign in locally with that password to make sure it is correct? And that you are selecting the correct account for your SSH session?
Yaa its working thankss
Dont work.
Bla bla bla, bla bla bla, bla bla bla!!!
Just a tip... Bump up the font size so people can read it.
+bokkenka Thanks for that, it's easily readable at good quality 1080p on a computer, but I didn't account for people on low quality or other devices, I'll try to come up with a better solution