Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I have Ubuntu installed on a Raspberry pi. I have a normal user pi, but I forgot the password. However, I do have root access.
How would I change pi's password using root?
Simply do :
in your case passwd pi
Just open a terminal and type following command:
sudo passwd username
and hit Enter
It will ask you for passwords