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 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
diff --git a/units/container-getty@.service.in b/units/container-getty@.service.in
index b8c47d4dd0..8847d735fb 100644
--- a/units/container-getty@.service.in
+++ b/units/container-getty@.service.in
@@ -42,3 +42,5 @@ KillMode=process
{% endif %}
IgnoreSIGPIPE=no
SendSIGHUP=yes
+ImportCredential=agetty.*
+ImportCredential=login.*
diff --git a/units/getty@.service.in b/units/getty@.service.in
index 853722417b..80b8f3e922 100644
--- a/units/getty@.service.in
+++ b/units/getty@.service.in
@@ -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.
diff --git a/units/serial-getty@.service.in b/units/serial-getty@.service.in
index 9e2b49ce6b..6bf101eac9 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=agetty.*
+ImportCredential=login.*
[Install]
WantedBy=getty.target