[systemd-devel] starting networking from within single user mode?

Lennart Poettering lennart at poettering.net
Fri Nov 11 14:11:20 UTC 2022


On Fr, 11.11.22 09:05, Brian Reichert (reichert at numachi.com) wrote:

> On Fri, Nov 11, 2022 at 08:08:58AM +0200, Mantas Mikul??nas wrote:
> > Boot with either "s" (aka "single" aka "rescue") or "-b" (aka "emergency")
> > for two variants of single-user mode with init. The former starts some
> > basic stuff (it's the real single-user mode) including udev so that modules
> > for your network interfaces still get loaded automatically, while the
> > latter doesn't start anything except init and a shell (emergency mode is
> > *almost* like init=/bin/sh but in theory might at least let you `systemctl
> > start` something).
>
> I was able to get into the emergency target, using these notes:
>
>   https://suay.site/?p=1681&PageSpeed=noscript
>
> The speed bump this article helped me with was to overcome systemd's
> misconception that the root account was locked.

systemd doesn't manage your root user. That's between you and
"shadow-utils" really.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list