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


Groups > linux.debian.user > #265485 > unrolled thread

Re: Re: Rescue mode when root account locked

Started byLarry Tyree <tyreelarry082@gmail.com>
First post2024-01-04 04:10 +0100
Last post2024-01-04 11:10 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  Re: Re: Rescue mode when root account locked Larry Tyree <tyreelarry082@gmail.com> - 2024-01-04 04:10 +0100
    Re: Re: Rescue mode when root account locked Greg Wooledge <greg@wooledge.org> - 2024-01-04 04:20 +0100
    Re: Re: Rescue mode when root account locked Jeffrey Walton <noloader@gmail.com> - 2024-01-04 11:10 +0100

#265485 — Re: Re: Rescue mode when root account locked

FromLarry Tyree <tyreelarry082@gmail.com>
Date2024-01-04 04:10 +0100
SubjectRe: Re: Rescue mode when root account locked
Message-ID<HSmhj-DCN-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

What do I do with no access to another computer?

[toc] | [next] | [standalone]


#265486

FromGreg Wooledge <greg@wooledge.org>
Date2024-01-04 04:20 +0100
Message-ID<HSmqZ-DMB-1@gated-at.bofh.it>
In reply to#265485
On Wed, Jan 03, 2024 at 08:44:16PM -0600, Larry Tyree wrote:
> What do I do with no access to another computer?

The original Subject: line says "Rescue mode when root account locked".
Putting the Subject: and the body together, I conclude that the question
is "How do I enter rescue mode when there is no root password set?"

One way is to boot with your installation medium.  It'll probably offer
you some way to "rescue" your installed system.  Some menu option, most
likely.

Another way is to use your boot loader to add "init=/bin/bash" to
the kernel parameters.  This should give you a root shell on a root
file system that's mounted read-only.  Do an fsck on the root file
system, then remount it read-write, then set the root password, sync,
remount it read-only, reboot, and you should be able to enter rescue
mode using your newly set password.

If any of the file systems are encrypted, then I can't help.  I've never
dealt with that.

[toc] | [prev] | [next] | [standalone]


#265494

FromJeffrey Walton <noloader@gmail.com>
Date2024-01-04 11:10 +0100
Message-ID<HSsPL-HFt-1@gated-at.bofh.it>
In reply to#265485
On Thu, Jan 4, 2024 at 2:48 AM Larry Tyree <tyreelarry082@gmail.com> wrote:
>
> What do I do with no access to another computer?

I'm having trouble following your thread. The "Re: Re:" is throwing me off.

Is this the original message you are replying to:
<https://lists.debian.org/debian-user/2017/09/msg00812.html>?

Jeff

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web