home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.sys.raspberry-pi      Raspberry Pi computers & related hardwar      26,127 messages   

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

   Message 25,288 of 26,127   
   Bob Latham to Lawrence D'Oliveiro   
   Re: Can't get into headless pi, password   
   26 Jan 25 09:15:20   
   
   From: bob@sick-of-spam.invalid   
      
   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-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

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


(c) 1994,  bbs@darkrealms.ca