summaryrefslogtreecommitdiffstats
path: root/units/console-getty.service.in
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-07-27 16:50:58 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-07-27 16:50:58 +0200
commit9e72aa18325454e849d94f012d0fdd24930a769a (patch)
tree2dbf421c60d0a5a1faf0711f679325fcc4ff0671 /units/console-getty.service.in
parentNEWS: fix typo (diff)
downloadsystemd-9e72aa18325454e849d94f012d0fdd24930a769a.tar.xz
systemd-9e72aa18325454e849d94f012d0fdd24930a769a.zip
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.
Diffstat (limited to 'units/console-getty.service.in')
-rw-r--r--units/console-getty.service.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/units/console-getty.service.in b/units/console-getty.service.in
index d7e90ed847..d64112be5e 100644
--- a/units/console-getty.service.in
+++ b/units/console-getty.service.in
@@ -36,6 +36,8 @@ KillMode=process
{% endif %}
IgnoreSIGPIPE=no
SendSIGHUP=yes
+ImportCredential=agetty.*
+ImportCredential=login.*
[Install]
WantedBy=getty.target