Bjørn Lie
a7992e03e6
Submit to Factory; rpmlint is prepared to accept this change OBS-URL: https://build.opensuse.org/request/show/964495 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/accountsservice?expand=0&rev=151
21 lines
727 B
Diff
21 lines
727 B
Diff
Index: accountsservice-22.04.62/data/accounts-daemon.service.in
|
|
===================================================================
|
|
--- accountsservice-22.04.62.orig/data/accounts-daemon.service.in
|
|
+++ accountsservice-22.04.62/data/accounts-daemon.service.in
|
|
@@ -8,6 +8,15 @@ After=nss-user-lookup.target
|
|
Wants=nss-user-lookup.target
|
|
|
|
[Service]
|
|
+# added automatically, for details please see
|
|
+# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
+PrivateDevices=true
|
|
+ProtectHostname=true
|
|
+ProtectClock=true
|
|
+ProtectKernelTunables=true
|
|
+ProtectKernelModules=true
|
|
+ProtectKernelLogs=true
|
|
+ProtectControlGroups=true
|
|
Type=dbus
|
|
BusName=org.freedesktop.Accounts
|
|
ExecStart=@libexecdir@/accounts-daemon
|