FS#63792 - Add pts/0 to /etc/securetty
Attached to Project:
Arch Linux
Opened by Johannes Ernst (jernst) - Monday, 16 September 2019, 17:13 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 11 December 2019, 07:23 GMT
Opened by Johannes Ernst (jernst) - Monday, 16 September 2019, 17:13 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 11 December 2019, 07:23 GMT
|
Details
Recently (not sure when exactly) systemd-nspawn has started
using /dev/pts/0 as the console of the container. (I think
it used to be /dev/console.) Due to this change, root login
on the console of the container has become impossible --
which is a problem because there may not be any other users
defined in a container.
Error message: pam_securetty(login:auth): access denied: tty 'pts/0' is not secure ! To make it possible again, pts/0 needs to be added to /etc/securetty. |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Wednesday, 11 December 2019, 07:23 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#45903
Wednesday, 11 December 2019, 07:23 GMT
Reason for closing: Duplicate
Additional comments about closing:
FS#45903?See also https://github.com/systemd/systemd/issues/852 .
So I also filed a bug against systemd: https://github.com/systemd/systemd/issues/13532 in the hope that somebody in either project knows how it is supposed to work and either accepts or closes either bug on either side.
I don't think it is directly related to something that happened in 2015 because this problem only started occurring some time in the past few months.