avahi-dbus.conf

来自「GPE内核镜像文件 已在qemu上跑过的」· CONF 代码 · 共 28 行

CONF
28
字号
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"><busconfig>  <!-- Only root or user avahi can own the Avahi service -->  <policy user="avahi">    <allow own="org.freedesktop.Avahi"/>  </policy>  <policy user="root">    <allow own="org.freedesktop.Avahi"/>  </policy>  <!-- Allow anyone to invoke methods on Avahi server, except SetHostName -->  <policy context="default">    <allow send_destination="org.freedesktop.Avahi"/>    <allow receive_sender="org.freedesktop.Avahi"/>    <deny send_interface="org.freedesktop.Avahi.Server" send_member="SetHostName"/>  </policy>  <!-- Allow everything, including access to SetHostName to users of the group "netdev" -->  <policy group="netdev">    <allow send_destination="org.freedesktop.Avahi"/>    <allow receive_sender="org.freedesktop.Avahi"/>  </policy></busconfig>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?