| 1 |
[Unit] |
| 2 |
Description=wtmpdb daemon |
| 3 |
Documentation=man:wtmpdbd(8) |
| 4 |
|
| 5 |
[Service] |
| 6 |
Type=notify |
| 7 |
Environment="WTMPDBD_OPTS=" |
| 8 |
EnvironmentFile=-/etc/default/wtmpdbd |
| 9 |
ExecStart=/usr/libexec/wtmpdbd -s $WTMPDBD_OPTS |
| 10 |
IPAddressDeny=any |
| 11 |
LockPersonality=yes |
| 12 |
MemoryDenyWriteExecute=yes |
| 13 |
NoNewPrivileges=yes |
| 14 |
PrivateDevices=yes |
| 15 |
PrivateNetwork=yes |
| 16 |
PrivateTmp=yes |
| 17 |
ProtectClock=yes |
| 18 |
ProtectControlGroups=yes |
| 19 |
ProtectHome=yes |
| 20 |
ProtectKernelLogs=yes |
| 21 |
ProtectKernelModules=yes |
| 22 |
ProtectKernelTunables=yes |
| 23 |
ProtectProc=invisible |
| 24 |
ProtectSystem=strict |
| 25 |
RestrictRealtime=true |
| 26 |
ReadWritePaths=/run/wtmpdb /var/lib/wtmpdb |
| 27 |
RestrictAddressFamilies=AF_UNIX |
| 28 |
RestrictNamespaces=yes |
| 29 |
RestrictRealtime=yes |
| 30 |
RestrictSUIDSGID=yes |