[OpenWrt-Devel] How to add ubus users?

Jo-Philipp Wich jow at openwrt.org
Mon Sep 28 07:22:36 EDT 2015


Hi Christoph,

there is no PAM support yet but the appropriate place to add it would be
rpc_login_test_login() of rpcd's session.c [1]

I wouldn't mind adding PAM support if it is possible to make it optional
at runtime. Haven't yet investigated whether it is feasible to dlopen()
libpam if installed and otherwise fallback to plain shadow auth.


1: http://nbd.name/gitweb.cgi?p=luci2/rpcd.git;a=blob;f=session.c#l829


~ Jow
_______________________________________________
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