Sujet : Re: Can't get into headless pi, password not 'raspberry'
De : cl (at) *nospam* isbd.net (Chris Green)
Groupes : comp.sys.raspberry-piDate : 26. Jan 2025, 10:42:38
Autres entêtes
Message-ID : <elch6l-udb2.ln1@q957.zbmc.eu>
References : 1 2
User-Agent : tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-29-amd64 (x86_64))
Pancho <
Pancho.Jones@proton.me> wrote:
On 1/25/25 22:34, Chris Green wrote:
I am trying to set up a new, headless Pi 4B. I have copied the 'lite'
image to a USB drive and created the empty 'ssh' file in the boot
partition.
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?
I can edit files on the USB drive OK so I can add and modify entries
in /etc/passwd and /etc/shadow. So all I actually need to do is set it
up so the user 'pi' has no password but I'm not doing too well at
doing that at the moment.
Any ideas, or other ways to get into it?
Use the Raspberry Pi Imager, it is good. That allows you to do some boot
provisioning, this is a more up to date version of the ssh file in boot.
I think there is a .yml provisioning file, but I get confused between
different OSes.
The other way is to use a .ssh/authorized_keys file, with an appropriate
key set up on the machine you are coming from.
Yes, .ssh/authorized_keys would seem to be the way to go, thanks.
-- Chris Green·
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 Mar23:16 |    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 |