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
    Commented Nov 14, 2013 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. Commented Nov 14, 2013 at 18:46
  • But what version? It is my understanding that Ubuntu changed long ago so that it no longer works on pi
    – Mateo
    Commented Nov 14, 2013 at 18:50

2 Answers 2


Simply do :

passwd username

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .