Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.raspberry-pi > #37904

Re: Why you need a root password

Message-ID <69c5b302@news.ausics.net> (permalink)
From not@telling.you.invalid (Computer Nerd Kev)
Subject Re: Why you need a root password
Newsgroups comp.sys.raspberry-pi
References <10q0p4l$1vp9d$1@dont-email.me> <69c45fbb@news.ausics.net> <wwv8qbfo5ji.fsf@LkoBDZeT.terraraq.uk> <10q2md7$2kf4t$2@dont-email.me>
Date 2026-03-27 08:28 +1000
Organization Ausics - https://newsgroups.ausics.net

Show all headers | View raw


The Natural Philosopher <tnp@invalid.invalid> 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.

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

Back to comp.sys.raspberry-pi | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Why you need a root password The Natural Philosopher <tnp@invalid.invalid> - 2026-03-25 13:49 +0000
  Re: Why you need a root password not@telling.you.invalid (Computer Nerd Kev) - 2026-03-26 08:20 +1000
    Re: Why you need a root password Richard Kettlewell <invalid@invalid.invalid> - 2026-03-25 23:25 +0000
      Re: Why you need a root password The Natural Philosopher <tnp@invalid.invalid> - 2026-03-26 07:14 +0000
        Re: Why you need a root password not@telling.you.invalid (Computer Nerd Kev) - 2026-03-27 08:28 +1000
      Re: Why you need a root password Theo <theom+news@chiark.greenend.org.uk> - 2026-03-26 11:10 +0000
    Re: Why you need a root password The Natural Philosopher <tnp@invalid.invalid> - 2026-03-26 07:10 +0000

csiph-web