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


Groups > linux.debian.user > #211345

Re: systemd-container login as root no longer possible? SOLVED

From arne <sp113438@telfort.nl>
Newsgroups linux.debian.user
Subject Re: systemd-container login as root no longer possible? SOLVED
Date 2019-07-13 14:40 +0200
Message-ID <yjptL-dr-7@gated-at.bofh.it> (permalink)
References <yiSHw-58g-5@gated-at.bofh.it> <yjdsB-172-3@gated-at.bofh.it>
Organization amd

Show all headers | View raw


On Sat, 13 Jul 2019 01:30:46 +0200
Michael Biebl <biebl@debian.org> wrote:

> Hi
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830255
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731656
> 
> might be related.
> Does it help if you add pts/0 to /etc/securetty inside your buster
> container?
> Would be great if you can report back if that fixes your issue.
> If you want to use machinectl, you also need to have dbus installed
> inside your container.
> 
> Interesting to see that /etc/securetty has apparently been removed
> just recently. That change is unstable only, i.e. won't help you for
> a buster container. See
> https://tracker.debian.org/news/1042624/accepted-shadow-147-1-source-into-unstable/
> 
> 

The bug was in securetty.

I added following to /etc/securetty

# systemd containers
pts/0
pts/1
pts/2
pts/3
pts/4
pts/5
pts/6
pts/7
pts/8
pts/9


and everything works again.
I can log in as root several times.

Thanks Michael and Ulf!

Back to linux.debian.user | Previous | Next — Previous 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