[OpenWrt-Devel] How to add ubus users?

Ronaldo Afonso ronaldo at ronaldoafonso.com.br
Fri Sep 25 10:34:14 EDT 2015


  Hi Rudiger,

  I would add another question on your question ...

  I'd like to have some kind of JSON-RPC with no user authentication.

  So, how can I remove user authentication at all?

Thanks in advance ...

2015-09-25 9:20 GMT-03:00 Rüdiger, Christoph <
Christoph.Ruediger at thyssenkrupp.com>:

> Hi!
>
> I've seen that there is an ACL concept for the ubus available [1], which
> fits very nice to my plan making our system services available as ubus
> calls instead of maintaining a REST API structure in parallel. However, I
> was not able to figure out how to add additional users to the ubus. There
> is a login method available where you typically login with the root user
> and its password. This can be changed in /etc/config/rpcd, which is working
> fine. But there is only one user available.
>
> So my question is, where do I define the additional users and map them to
> my groups in the ACL files?
>
> Best regards,
> Christoph
>
> [1] http://wiki.openwrt.org/doc/techref/ubus#acls
>
> --
> ThyssenKrupp Elevator Innovation GmbH
> PDC Neuhausen
> TKEI Elevator Control
> Bernhaeuser Straße 45
> 73765 Neuhausen, Germany
>
> Phone +49 7158 12-2615
> christoph.ruediger at thyssenkrupp.com
>
> Company domicile: Essen      Commercial register: Essen HRB 20 839
> Postal address: ThyssenKrupp Allee 1, 45143 Essen, Germany
> Executive Board: Gerhard Thumm, Katrin Huenger, Philippe Choleau
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>



-- 
Ronaldo Afonso
11 9 5252 0484
www.ronaldoafonso.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150925/f82fb1f0/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list