Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/925361 OBS-URL: https://build.opensuse.org/package/show/Base:System/mgetty?expand=0&rev=49
33 lines
748 B
Desktop File
33 lines
748 B
Desktop File
[Unit]
|
|
Description=vgetty on /dev/%I
|
|
Documentation=man:vgetty(8)
|
|
BindsTo=dev-%i.device
|
|
After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
|
|
After=rc-local.service
|
|
Before=getty.target
|
|
IgnoreOnIsolate=yes
|
|
|
|
[Service]
|
|
# added automatically, for details please see
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
ProtectSystem=full
|
|
ProtectHome=true
|
|
ProtectHostname=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelLogs=true
|
|
ProtectControlGroups=true
|
|
RestrictRealtime=true
|
|
# end of automatic additions
|
|
ExecStart=-/usr/sbin/vgetty /dev/%I
|
|
Type=idle
|
|
Restart=always
|
|
RestartSec=0
|
|
UtmpIdentifier=%I
|
|
TTYPath=/dev/%I
|
|
KillMode=process
|
|
IgnoreSIGPIPE=no
|
|
|
|
[Install]
|
|
WantedBy=getty.target
|