Skip to content

Commit e1b03cd

Browse files
authored
Merge pull request #28540 from DaanDeMeyer/getty-credentials
units: Load agetty credentials in all getty units
2 parents 22c5593 + 9e72aa1 commit e1b03cd

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

units/console-getty.service.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ KillMode=process
3636
{% endif %}
3737
IgnoreSIGPIPE=no
3838
SendSIGHUP=yes
39+
ImportCredential=agetty.*
40+
ImportCredential=login.*
3941

4042
[Install]
4143
WantedBy=getty.target

units/[email protected]

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@ KillMode=process
4242
{% endif %}
4343
IgnoreSIGPIPE=no
4444
SendSIGHUP=yes
45+
ImportCredential=agetty.*
46+
ImportCredential=login.*

units/[email protected]

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ KillMode=process
5454
{% endif %}
5555
IgnoreSIGPIPE=no
5656
SendSIGHUP=yes
57+
ImportCredential=agetty.*
58+
ImportCredential=login.*
5759

5860
# Unset locale for the console getty since the console has problems
5961
# displaying some internationalized messages.

units/[email protected]

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ KillMode=process
4747
{% endif %}
4848
IgnoreSIGPIPE=no
4949
SendSIGHUP=yes
50+
ImportCredential=agetty.*
51+
ImportCredential=login.*
5052

5153
[Install]
5254
WantedBy=getty.target

0 commit comments

Comments
 (0)