| Deutsch English Français Italiano |
|
<3jch6l-udb2.ln1@q957.zbmc.eu> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Chris Green <cl@isbd.net>
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Can't get into headless pi, password not 'raspberry'
Date: Sun, 26 Jan 2025 09:41:23 +0000
Lines: 27
Message-ID: <3jch6l-udb2.ln1@q957.zbmc.eu>
References: <dh5g6l-ft72.ln1@q957.zbmc.eu> <vn3tmj$2q39r$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 5URO8YyaK+DiJBb8S4gALAuIwE7oQXj3lmLc7/Yg0A+LAWSsU=
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:GudkdikD+cl+eHey21EiBdjPdBo= sha256:q9xSqUGue1Q7LEjWWqZ6LgLOssSX+UhXvmWBHg4Q8zI=
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-29-amd64 (x86_64))
Bytes: 1904
Chris Townley <news@cct-net.co.uk> wrote:
> On 25/01/2025 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?
> >
> There is no longer a default user in current images. When you sue the
> Raspberry Pi Imager, you must use the option to set a user and password,
> and if needed to enable ssh
>
Ah, that would explain it, thanks. I just used dd to create the
image, I'll have to add a user and so on. OK, no problem.
--
Chris Green
·