BBS:      TELESC.NET.BR
Assunto:  Re: Why you need a root password
De:       Computer Nerd Kev
Data:     Fri, 27 Mar 2026 08:28:18 +1000
-----------------------------------------------------------
The Natural Philosopher  wrote:
> On 25/03/2026 23:25, Richard Kettlewell wrote:
>> Even if that doesn't go as expected, you can edit the kernel command
>> line to point init at a shell, which will then run without any tedious
>> business with passwords, as long as it actually exists. So, there's
>> definitely another way.
>> 
> how? the machine is inaccessible

Edit cmdline.txt on the MicroSD card with a PC.

>> On an x86 device running Grub you can do this easily in the boot-time
>> UI. I don't know if there's an interactive way to do it on any Pi models
>> but in the worst case you could mount the SD card with another computer
>> and edit the kernel command line.
>> 
> if you knew what to edit...

cmdline.txt, on the FAT partition. There's no Grub-style
interactive boot prompt, so you do need to edit the file.

-- 
__          __
#_ < |\| |< _#

--- PyGate Linux v1.5.13
 * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)

-----------------------------------------------------------
[Voltar]