Re: Can't get into headless pi, passwor

Liste des GroupesRevenir à cs raspberry-pi 
Sujet : Re: Can't get into headless pi, passwor
De : tnp (at) *nospam* invalid.invalid (The Natural Philosopher)
Groupes : comp.sys.raspberry-pi
Date : 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'26Chris Green
26 Jan 25 +* Re: Can't get into headless pi, password not 'raspberry'5Chris Townley
26 Jan 25 i+- Re: Can't get into headless pi, password not 'raspberry'1Chris Green
26 Jan 25 i`* Re: Can't get into headless pi, password not 'raspberry'3Andy Burns
26 Jan 25 i +- Re: Can't get into headless pi, password not 'raspberry'1The Natural Philosopher
26 Jan 25 i `- Re: Can't get into headless pi, password not 'raspberry'1Chris Townley
26 Jan 25 +* Re: Can't get into headless pi, password not 'raspberry'2Pancho
26 Jan 25 i`- Re: Can't get into headless pi, password not 'raspberry'1Chris Green
26 Jan 25 +- Re: Can't get into headless pi, password not 'raspberry'1bp
26 Jan 25 +* Re: Can't get into headless pi, password not 'raspberry'8Lawrence D'Oliveiro
26 Jan 25 i`* Re: Can't get into headless pi, password not 'raspberry'7Bob Latham
26 Jan 25 i `* Re: Can't get into headless pi, password not 'raspberry'6Chris Green
26 Jan 25 i  +- Re: Can't get into headless pi, password not 'raspberry'1Chris Green
26 Jan 25 i  `* Re: Can't get into headless pi, password not 'raspberry'4Bob Latham
26 Jan 25 i   +- Re: Can't get into headless pi, password not 'raspberry'1The Natural Philosopher
27 Jan 25 i   `* Re: Can't get into headless pi, password not 'raspberry'2Lawrence D'Oliveiro
26 Jan 25 i    `- Re: Can't get into headle1Mike Powell
26 Jan 25 +* Re: Can't get into headless pi, password not 'raspberry'5The Natural Philosopher
26 Jan 25 i+* Re: Can't get into headless pi, password not 'raspberry'3Chris Green
26 Jan 25 ii`* Re: Can't get into headless pi, password not 'raspberry'2The Natural Philosopher
26 Jan 25 ii `- Re: Can't get into headless pi, password not 'raspberry'1Chris Green
27 Jan 25 i`- Re: Can't get into headless pi, password not 'raspberry'1Lawrence D'Oliveiro
26 Feb 25 +* Can't get into headless pi, passwor3Dave Vandermeer
2 Mar 25 i`* Re: Can't get into headless pi, passwor2The Natural Philosopher
13 Mar 25 i `- Re: Can't get into headless pi, password not 'raspberry'1Lawrence D'Oliveiro
26 Feb 25 `- Can't get into headless pi, passwor1Dave Vandermeer

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal