1
0
mirror of https://github.com/systemd/systemd synced 2024-07-01 07:34:28 +00:00

units: Load agetty credentials in all getty units

In it's latest release, agetty will support reading the agetty.autologin
and login.noauth credentials, so let's make sure we import those in our
getty units so they're available to agetty to read.
This commit is contained in:
Daan De Meyer 2023-07-27 16:50:58 +02:00
parent 62843efc8f
commit 9e72aa1832
4 changed files with 8 additions and 0 deletions

View File

@ -36,6 +36,8 @@ KillMode=process
{% endif %}
IgnoreSIGPIPE=no
SendSIGHUP=yes
ImportCredential=agetty.*
ImportCredential=login.*
[Install]
WantedBy=getty.target

View File

@ -42,3 +42,5 @@ KillMode=process
{% endif %}
IgnoreSIGPIPE=no
SendSIGHUP=yes
ImportCredential=agetty.*
ImportCredential=login.*

View File

@ -54,6 +54,8 @@ KillMode=process
{% endif %}
IgnoreSIGPIPE=no
SendSIGHUP=yes
ImportCredential=agetty.*
ImportCredential=login.*
# Unset locale for the console getty since the console has problems
# displaying some internationalized messages.

View File

@ -47,6 +47,8 @@ KillMode=process
{% endif %}
IgnoreSIGPIPE=no
SendSIGHUP=yes
ImportCredential=agetty.*
ImportCredential=login.*
[Install]
WantedBy=getty.target