Sujet : Re: Can't get into headless pi, passwor
De : tnp (at) *nospam* invalid.invalid (The Natural Philosopher)
Groupes : comp.sys.raspberry-piDate : 02. Mar 2025, 10:51:28
Autres entêtes
Organisation : A little, after lunch
Message-ID : <vq19n0$n7hp$3@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
On 26/02/2025 04:49, Dave Vandermeer wrote:
> It boots OK and the ssh deamon is running but the default username
> 'pi' and password 'raspberry' don't work. How on earth do I get into
> it to start it up?
Did you use the RPI Imager to create your SD card? You need to create a
password for the pi user now. As far as I have seen it does not come with the
password of 'raspberry' any more since they upgraded to bookworm ..
I think you can edit the boot partition to set a user up
"There are also mechanisms to preconfigure an image without using Imager. To set up a user on first boot and bypass the wizard completely, create a file called userconf or userconf.txt in the boot partition of the SD card; this is the part of the SD card which can be seen when it is mounted in a Windows or MacOS computer.
This file should contain a single line of text, consisting of username:encrypted- password – so your desired username, followed immediately by a colon, followed immediately by an encrypted representation of the password you want to use.
To generate the encrypted password, the easiest way is to use OpenSSL on a Raspberry Pi that is already running – open a terminal window and enter
echo 'mypassword' | openssl passwd -6 -stdin
This will produce what looks like a string of random characters, which is actually an encrypted version of the supplied password."
https://www.raspberrypi.com/news/raspberry-pi-bullseye-update-april-2022/I think you can also use the values in /etc/shadow on another system to clone a user and password.
But if you have another Linux system, and are using it to burn/modify the boot disk image for the pi, this method works extremely well.
-- How fortunate for governments that the people they administer don't think.Adolf Hitler
Date | Sujet | # | | Auteur |
25 Jan 25 | Can't get into headless pi, password not 'raspberry' | 26 | | Chris Green |
26 Jan 25 |  Re: Can't get into headless pi, password not 'raspberry' | 5 | | Chris Townley |
26 Jan 25 |   Re: Can't get into headless pi, password not 'raspberry' | 1 | | Chris Green |
26 Jan 25 |   Re: Can't get into headless pi, password not 'raspberry' | 3 | | Andy Burns |
26 Jan 25 |    Re: Can't get into headless pi, password not 'raspberry' | 1 | | The Natural Philosopher |
26 Jan 25 |    Re: Can't get into headless pi, password not 'raspberry' | 1 | | Chris Townley |
26 Jan 25 |  Re: Can't get into headless pi, password not 'raspberry' | 2 | | Pancho |
26 Jan 25 |   Re: Can't get into headless pi, password not 'raspberry' | 1 | | Chris Green |
26 Jan 25 |  Re: Can't get into headless pi, password not 'raspberry' | 1 | | bp |
26 Jan 25 |  Re: Can't get into headless pi, password not 'raspberry' | 8 | | Lawrence D'Oliveiro |
26 Jan 25 |   Re: Can't get into headless pi, password not 'raspberry' | 7 | | Bob Latham |
26 Jan 25 |    Re: Can't get into headless pi, password not 'raspberry' | 6 | | Chris Green |
26 Jan 25 |     Re: Can't get into headless pi, password not 'raspberry' | 1 | | Chris Green |
26 Jan 25 |     Re: Can't get into headless pi, password not 'raspberry' | 4 | | Bob Latham |
26 Jan 25 |      Re: Can't get into headless pi, password not 'raspberry' | 1 | | The Natural Philosopher |
27 Jan 25 |      Re: Can't get into headless pi, password not 'raspberry' | 2 | | Lawrence D'Oliveiro |
26 Jan 25 |       Re: Can't get into headle | 1 | | Mike Powell |
26 Jan 25 |  Re: Can't get into headless pi, password not 'raspberry' | 5 | | The Natural Philosopher |
26 Jan 25 |   Re: Can't get into headless pi, password not 'raspberry' | 3 | | Chris Green |
26 Jan 25 |    Re: Can't get into headless pi, password not 'raspberry' | 2 | | The Natural Philosopher |
26 Jan 25 |     Re: Can't get into headless pi, password not 'raspberry' | 1 | | Chris Green |
27 Jan 25 |   Re: Can't get into headless pi, password not 'raspberry' | 1 | | Lawrence D'Oliveiro |
26 Feb 25 |  Can't get into headless pi, passwor | 3 | | Dave Vandermeer |
2 Mar 25 |   Re: Can't get into headless pi, passwor | 2 | | The Natural Philosopher |
13 Mar 25 |    Re: Can't get into headless pi, password not 'raspberry' | 1 | | Lawrence D'Oliveiro |
26 Feb 25 |  Can't get into headless pi, passwor | 1 | | Dave Vandermeer |