diff --git a/units/console-getty.service.in b/units/console-getty.service.in index d7e90ed8479..d64112be5ef 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 b8c47d4dd06..8847d735fbd 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 853722417b9..80b8f3e9228 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 9e2b49ce6bf..6bf101eac9a 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