How to create Multiple users in LuCI?

Hi Team,

I'm looking for a solution to create multiple user in openwrt. Already we have root user and i want to create one more user.

I have surfed a lot more in the openwrt website but none of them helped. Can anyone help on this?

Thanks
Khaleel Ahamed A

Don't think LuCI has a module for this but you can use old-school utils, see: https://openwrt.org/docs/guide-user/additional-software/create-new-users

Busybox not have useradd? might still work.

I have tried this one but additionally i need to restrict the webpage for the new user

I do not believe LuCI works like that. You restrict access via requiring a root password. I highly recommend you disable that and setup a tunneled ssh connection if this is feasible, see: https://openwrt.org/docs/guide-user/luci/luci.secure#setting_up_the_ssh-tunnel

My requirement is need to have two users like root and user

root user will have access to all the webpages and newuser should have only limited webpages

See above ^^^

Dude, stop using the </> button when you post vanilla text.

2 Likes

how about the luci-app-acl:
https://openwrt.org/packages/pkgdata/luci-app-acl

Looks like this one is for accessing the LuCI securely, but what actually i need is having two different users for webpage.

For example:

  1. If root user as the previlege to access all the pages like Status, System, Network.
  2. New user should have access for Status page alone

The luci-app-acl

3 Likes

Thanks for your support @RadioOperator, your suggestion is working fine for making readonly to the entire page.

Is it possible to make readonly to the specific field of webpage for the new user and the same field should be read/write for root user?

In current openwrt packages, no specific control levels in it, and luci-app-acl no more control level to setup for it also.
If you need such functions, you have to make it all by yourself.

Thanks for your support!!!

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