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


Groups > linux.debian.user > #211261

systemd-container login as root no longer possible?

From arne <sp113438@telfort.nl>
Newsgroups linux.debian.user
Subject systemd-container login as root no longer possible?
Date 2019-07-12 03:40 +0200
Message-ID <yiSHw-58g-5@gated-at.bofh.it> (permalink)
Organization amd

Show all headers | View raw


After upgrading my containers from stretch to buster I can no longer
log in as root

I make the container with debootstrap, then 

# systemd-nspawn --directory=/mnt/mycontainer passwd

then I start the container with

# systemd-nspawn --register=yes -D /mnt/mycontainer /sbin/init &

then

# machinectl login mycontainer

gives me a login screen

When I enter "root"
no password prompt is shown


In stretch containers there is no problem, I get the password prompt
and can log in as root.

I tried with buster to make a new container on buster, can not log in.

Perhaps it is a new feature of systemd?

Lucky me, I had copies of my stretch containers.

Is this a bug or am I missing something?

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

systemd-container login as root no longer possible? arne <sp113438@telfort.nl> - 2019-07-12 03:40 +0200
  Re: systemd-container login as root no longer possible? Ulf Volmer <u.volmer@u-v.de> - 2019-07-12 17:40 +0200
  Re: systemd-container login as root no longer possible? Michael Biebl <biebl@debian.org> - 2019-07-13 01:50 +0200
    Re: systemd-container login as root no longer possible? SOLVED arne <sp113438@telfort.nl> - 2019-07-13 14:40 +0200

csiph-web