home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 21242 
 Bob Latham to Lawrence D'Oliveiro 
 Re: Can't get into headless pi, password 
 26 Jan 25 09:15:20 
 
INTL 3:770/1 3:770/3
REPLYADDR bob@sick-of-spam.invalid
REPLYTO 3:770/3.0 UUCP
MSGID: <5be5304c7fbob@sick-of-spam.invalid> 0aa9a4c0
REPLY:  c22f92a5
PID: SoupGate-Win32 v1.05
CHRS: LATIN-1 2
In article ,
   Lawrence D'Oliveiro  wrote:
> On Sat, 25 Jan 2025 22:34:53 +0000, Chris Green wrote:

> > 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.

> Try putting this in the password field in the /etc/shadow file:

>     $y$j9T$7FOBvVykAYTWGfCHpB2tJ.$/cOEl5X64TU2daBOxeP.hfgF90h23GeLBxFmJI0TVP4

> (that‘s a hash for ”raspberry•.)

> The hash was produced with my code from here
> . The various hash algorithms that
> should be available are documented here
> .

Question if I may? How do you get to the /etc/shadow file if you
can't log in to the pi?

Probably a couple of years ago now I created my own userconf file
which along with an empty SSH file I drop into a newly burnt SD card.
This works just fine for me but I would love to know how get to
anything on the other partition without logging in. I am unaware of
any way to see the main partition when the SD card is plugged into a
PC.

Thanks.

Bob.

--- SoupGate-Win32 v1.05
 * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
SEEN-BY: 10/0 1 19/10 103/705 105/81 106/201 124/5016 128/187 129/305
SEEN-BY: 153/757 7715 154/110 218/0 1 601 700 840 220/70 221/1 6 360
SEEN-BY: 226/17 30 100 227/114 229/110 111 114 200 206 275 300 317
SEEN-BY: 229/400 426 428 470 550 616 664 700 705 240/1120 266/512
SEEN-BY: 267/800 291/111 292/854 301/1 113 812 310/31 320/219 322/757
SEEN-BY: 335/364 341/66 342/200 396/45 460/58 633/280 712/848 770/1
SEEN-BY: 770/3 100 330 340 772/210 220 230 902/26 2320/105 5020/400
SEEN-BY: 5020/1042 5075/35
PATH: 770/3 1 218/840 221/6 301/1 218/700 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca