flyingwasabi
Posts: 1
Joined: Thu Jul 02, 2020 3:18 am

default password for ubuntu?

Thu Jul 02, 2020 3:20 am

i just installed ubuntu 20 64bit using raspberry pi imager, it runs but i dont knwo that username/password.
i tried root/(empty) root/root ubuntu/ubuntu pi/raspberry, but none of them worked.

does anyone know the password?
thanks

Amen8
Posts: 5
Joined: Mon Jun 22, 2020 6:37 am

Re: default password for ubuntu?

Thu Jul 02, 2020 6:37 am

from the official wiki page of ubuntu here (dedicated to Raspberry pi machines)
the default password is: ubuntu

cjan
Posts: 928
Joined: Sun May 06, 2012 12:00 am

Re: default password for ubuntu?

Thu Jul 02, 2020 6:38 am

ubuntu/ubuntu, and you need wait minutes after boot.

User avatar
waveform80
Posts: 371
Joined: Mon Sep 23, 2013 1:28 pm
Location: Manchester, UK
Contact: Website Twitter

Re: default password for ubuntu?

Thu Jul 02, 2020 1:01 pm

Yes, the default username is "ubuntu" and password is "ubuntu". As others have noted you need to wait a couple of minutes after boot as the user does not exist by default; the cloud-init process is responsible for setting up the default user and does so after the first boot has finished. Due to the (obviously) insecure nature of the default password, it's pre-expired and you'll need to change it on first login.

If you prefer to set up the initial user and password yourself (customizing cloud-init's configuration) there's some instructions in this post.
Author of / contributor to a few pi related things (picamera, Sense HAT emulator, gpiozero, piwheels, etc.), and currently a software engineer at Canonical responsible for Ubuntu on the Raspberry Pi.

Return to “Ubuntu”