Hi,
I make a modem by using openwrt 23.05.2.
but i want add a new "admin" user name.
admin only should be login form web ui an not from ssh.
admin only must access to limited pages.(setting wifi SSID or password, change user/pass for admin and ...) and have new pages to see status of modem.
i add new "admin" user by editing passwd and shadow file in etc folder.
and i edit /etc/config/rpcd to :
config login
option username 'root'
option password '$p$root'
list read '*'
list write '*'
config login
option username 'admin'
option password '$p$admin'
list read '*'
by this changes admin user can login only from web ui and only can see all pages without able to editing.
pleas help me how to make new page to admin user and only have limited access to editing.
Adding new user is not well documented for 23.05.2 . and I cant find a document to add new user and pages.
I am using MediaTek MT7628K SoC and EC200 LTE module for making my modem. It is not a commercial product.
What is your end goal? The reason multiuser is not well documented is because it really isn't supported. It technically can work but the functionality is not completely implemented everywhere. I would avoid using it unless you are just playing around for fun.
Thanks @Darin755 to replay to me.
I would be very happy. If I can add this feature. Definitely the guidance of the forum users will help me do it faster and better. And I think it will expand the scope of openwrt.
Of course, once the admin has logged in via LuCI, they can just check that box again and login via ssh if they so desire.
Making OpenWrt a multi-user OS in general isn't terribly difficult by adding multiple users, but setting up tiered administrative access is not trivial and may require some additional changes to underlying administrative code.
Thanks @Hostle ,
My openwrt version is : 23.05.2
But your version seems to be higher. Right?
in my openwrt ui [system --> acl settings] is not present.