2

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?

  • How did you manage to install Ubuntu on the pi? – Mateo Nov 14 '13 at 18:16
  • I did it long time ago. I remember: 1st, download the image and burn it into SD card. 2nd, plug in everything and power on then follow the configuration. 3rd, there is no 3rd. – sh977218 Nov 14 '13 at 18:46
  • But what version? It is my understanding that Ubuntu changed long ago so that it no longer works on pi – Mateo Nov 14 '13 at 18:50
5

Simply do :

passwd username

in your case passwd pi

-1

Just open a terminal and type following command:

sudo passwd username

and hit Enter

It will ask you for passwords

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.