mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
units: remove "AllowUser=root own", the bus owner can always own names
This commit is contained in:
parent
088b51107a
commit
d5ce683c07
@ -128,7 +128,6 @@ static int create_dbus_files(
|
||||
"[BusName]\n"
|
||||
"Name=%s\n"
|
||||
"Service=%s\n"
|
||||
"AllowUser=root own\n"
|
||||
"AllowWorld=talk\n",
|
||||
path,
|
||||
name,
|
||||
|
@ -10,5 +10,4 @@ Description=Bus Driver Service Bus Name
|
||||
|
||||
[BusName]
|
||||
Service=systemd-bus-driverd.service
|
||||
AllowUser=root own
|
||||
AllowWorld=talk
|
||||
|
@ -12,5 +12,4 @@ Documentation=http://www.freedesktop.org/wiki/Software/systemd/hostnamed
|
||||
|
||||
[BusName]
|
||||
Service=systemd-hostnamed.service
|
||||
AllowUser=root own
|
||||
AllowWorld=talk
|
||||
|
@ -12,5 +12,4 @@ Documentation=http://www.freedesktop.org/wiki/Software/systemd/localed
|
||||
|
||||
[BusName]
|
||||
Service=systemd-localed.service
|
||||
AllowUser=root own
|
||||
AllowWorld=talk
|
||||
|
@ -13,5 +13,4 @@ Documentation=http://www.freedesktop.org/wiki/Software/systemd/multiseat
|
||||
|
||||
[BusName]
|
||||
Service=systemd-logind.service
|
||||
AllowUser=root own
|
||||
AllowWorld=talk
|
||||
|
@ -12,5 +12,4 @@ Documentation=http://www.freedesktop.org/wiki/Software/systemd/machined
|
||||
|
||||
[BusName]
|
||||
Service=systemd-machined.service
|
||||
AllowUser=root own
|
||||
AllowWorld=talk
|
||||
|
@ -12,5 +12,4 @@ Documentation=http://www.freedesktop.org/wiki/Software/systemd/timedated
|
||||
|
||||
[BusName]
|
||||
Service=systemd-timedated.service
|
||||
AllowUser=root own
|
||||
AllowWorld=talk
|
||||
|
Loading…
Reference in New Issue
Block a user