When I go to the device web interface i have this:
I added admin user via SSH shadow-useradd command and on LUCI via luci-app-acl package.
shadow-useradd
luci-app-acl
So how can I achieve this?
Thanks
Open the file /usr/lib/lua/luci/dispatcher.lua and look for local scope = { duser = "root", fuser = user } Change the default user to whatever you want and save the changes. Delete the /tmp/luci-modulecache/ directory and refresh the login page.
/usr/lib/lua/luci/dispatcher.lua
local scope = { duser = "root", fuser = user }
/tmp/luci-modulecache/
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.