We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79dad2d commit f1f6733Copy full SHA for f1f6733
2 files changed
conf/mctpd-dbus.conf
@@ -2,7 +2,7 @@
2
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
3
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
4
<busconfig>
5
- <policy user="root">
+ <policy user="mctpd">
6
<allow own="au.com.codeconstruct.MCTP1"/>
7
<allow send_destination="au.com.codeconstruct.MCTP1"/>
8
<allow receive_sender="au.com.codeconstruct.MCTP1"/>
conf/mctpd.service
@@ -8,6 +8,8 @@ After=mctp-local.target
Type=dbus
9
BusName=au.com.codeconstruct.MCTP1
10
ExecStart=/usr/sbin/mctpd
11
+User=mctpd
12
+AmbientCapabilities==CAP_NET_BIND_SERVICE CAP_NET_ADMIN
13
14
[Install]
15
WantedBy=mctp.target
0 commit comments