diff options
Diffstat (limited to 'sys-apps/systemd/files/00-hostnamed-network-user.conf')
-rw-r--r-- | sys-apps/systemd/files/00-hostnamed-network-user.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys-apps/systemd/files/00-hostnamed-network-user.conf b/sys-apps/systemd/files/00-hostnamed-network-user.conf new file mode 100644 index 000000000000..6b224ba9b937 --- /dev/null +++ b/sys-apps/systemd/files/00-hostnamed-network-user.conf @@ -0,0 +1,6 @@ +[Service] +# By running with these options instead of root, networkd is allowed to request +# a hostname change via DBUS when policykit is not present +User=systemd-network +Group=systemd-hostname +AmbientCapabilities=CAP_SYS_ADMIN |