Question about openwrt ubus permission

Hi all

Here is the issue I am currently facing.

On the same OpenWrt device, Service A runs with root permissions and registers a ubus method named "test". Now, there is another service B running with non-root permissions that wants to call the "test" method. Is this achievable?

Can the OpenWrt ACL mechanism meet my needs?

Thanks

Yes, this is possible. You need to add a native ubusd acl to allow this.

See e.g.

or

for examples.

1 Like

Thank you very much for your answer. The method you provided can solve my problem.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.