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?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
Simply do :
in your case
Just open a terminal and type following command:
sudo passwd username
and hit Enter
It will ask you for passwords