Luci automatic logout or timeout setting

One thing that wastes time when administering OpenWrt, particularly when managing a whole rack of them, is the Luci UI timeout. I couldn't seem to find any setting where I can change the number of seconds until it automatically logs out.

It would be desirable to have such a setting, wherein if you put 0, then that means you never want to be logged out automatically. If someone can get physical access to the router, then this safety measure is already useless because the file system is probably not encrypted. Equally so if they can manage to hijack an existing session over wifi (so it would actually be more helpful to have a toggle to disable Luci over wifi). And yet, we do still need an administrator password so that no unauthorized user can log in remotely.

Having to log in again only takes a few seconds but when you multiply that by the average number of routers managed per user and then number of users, you get a massive amount of wasted time, not to mention that fumbling around for your password is distracting and opens opportunities for slipups.

If I just haven't found the setting in the existing UI then I would be happy to learn about it. Even a CLI command would be nice. I bet that exists but I'm just ignorant of it.

Might want to check if this still works - How to alter sessiontime?.

1 Like

This is very helpful but it would be nice to have this as a part of the Luci UI so nobody has to repeat this research.

What research ?

Feel free to implement and submit the patch for UI.

PS.
You can set it in the firmware-selector script window, making it valid from 1st boot.
DS.

2 Likes

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