mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
units: Import tty specific credentials for each getty unit
As explained in the previous commit, this allows us to configure agetty and login for individual ttys instead of globally.
This commit is contained in:
parent
831f208783
commit
e97429902d
@ -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.*
|
||||
|
||||
|
@ -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.*
|
||||
|
@ -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.*
|
||||
|
||||
|
@ -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.*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user