summaryrefslogtreecommitdiffstats
path: root/units
diff options
context:
space:
mode:
Diffstat (limited to 'units')
-rw-r--r--units/console-getty.service.in2
-rw-r--r--units/container-getty@.service.in2
-rw-r--r--units/getty@.service.in2
-rw-r--r--units/serial-getty@.service.in2
4 files changed, 8 insertions, 0 deletions
diff --git a/units/console-getty.service.in b/units/console-getty.service.in
index 2de31dd01a..841c4496f0 100644
--- a/units/console-getty.service.in
+++ b/units/console-getty.service.in
@@ -37,6 +37,8 @@ KillMode=process
{% endif %}
IgnoreSIGPIPE=no
SendSIGHUP=yes
+ImportCredential=tty.console.agetty.*:agetty.
+ImportCredential=tty.console.login.*:login.
ImportCredential=agetty.*
ImportCredential=login.*
diff --git a/units/container-getty@.service.in b/units/container-getty@.service.in
index 7e277a49bc..1f63383641 100644
--- a/units/container-getty@.service.in
+++ b/units/container-getty@.service.in
@@ -43,5 +43,7 @@ KillMode=process
{% endif %}
IgnoreSIGPIPE=no
SendSIGHUP=yes
+ImportCredential=tty.container.%I.agetty.*:agetty.
+ImportCredential=tty.container.%I.login.*:login.
ImportCredential=agetty.*
ImportCredential=login.*
diff --git a/units/getty@.service.in b/units/getty@.service.in
index ce8db9764e..983f6dba49 100644
--- a/units/getty@.service.in
+++ b/units/getty@.service.in
@@ -53,6 +53,8 @@ KillMode=process
{% endif %}
IgnoreSIGPIPE=no
SendSIGHUP=yes
+ImportCredential=tty.virtual.%I.agetty.*:agetty.
+ImportCredential=tty.virtual.%I.login.*:login.
ImportCredential=agetty.*
ImportCredential=login.*
diff --git a/units/serial-getty@.service.in b/units/serial-getty@.service.in
index 5669b19aff..afb8ad06a7 100644
--- a/units/serial-getty@.service.in
+++ b/units/serial-getty@.service.in
@@ -47,6 +47,8 @@ KillMode=process
{% endif %}
IgnoreSIGPIPE=no
SendSIGHUP=yes
+ImportCredential=tty.serial.%I.agetty.*:agetty.
+ImportCredential=tty.serial.%I.login.*:login.
ImportCredential=agetty.*
ImportCredential=login.*