- Update harden_accounts-daemon.service.patch: Do not proect home
directories: the accounts daemon is used to create home directories upon user creation (boo#1189853). OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/accountsservice?expand=0&rev=148
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 26 15:07:51 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Update harden_accounts-daemon.service.patch: Do not proect home
|
||||
directories: the accounts daemon is used to create home
|
||||
directories upon user creation (boo#1189853).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 9 09:36:20 UTC 2021 - Yifan Jiang <yfjiang@suse.com>
|
||||
|
||||
|
@@ -2,13 +2,12 @@ Index: accountsservice-0.6.55/data/accounts-daemon.service.in
|
||||
===================================================================
|
||||
--- accountsservice-0.6.55.orig/data/accounts-daemon.service.in
|
||||
+++ accountsservice-0.6.55/data/accounts-daemon.service.in
|
||||
@@ -8,6 +8,16 @@ After=nss-user-lookup.target
|
||||
@@ -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
|
||||
+ProtectHome=true
|
||||
+PrivateDevices=true
|
||||
+ProtectHostname=true
|
||||
+ProtectClock=true
|
||||
|
Reference in New Issue
Block a user