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?

3
  • How did you manage to install Ubuntu on the pi? 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 Commented Nov 14, 2013 at 18:50

2 Answers 2

5

Simply do :

passwd username

in your case passwd pi

0
-1

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.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.