Disable "You haven't changed the default password for this device" popug using SSH/CLI?

I’m provisioning routers using SSH and even if I’ve successfully changed the admin user’s password (using passwd or updating /etc/shadow), logging in to the WebGUI still displays the “You haven’t changed the default password for this device.” popup.

What’s the setting I can set via CLI / UCI?

I did not find anything in /etc/config.

I see a firstlogin key in /system/config REST API but it’s only for GET:

{
  "success": "boolean",
  "data": [
    {
      "id": "string",
      "lang_code": "string",
      "advanced": "string",
      "firstlogin": "string",
      "devicename": "string",
      "hostname": "string",
      "data_analytics": "string",
      "notifications_enabled": "string",
      "alerts_enabled": "string",
      "api_session_timeout": "string",
      "session_timeout": "string"
    }
  ]
}

Greetings,

Apologies for the delayed response.

To remove the necessity of changing the default password when you login to the WebUI for the first time, follow these instructions:
Here are the instructions how to login to the CLI: Command Line Interfaces - Teltonika Networks Wiki

Run the following command in the CLI to edit the configuration file:
vi /etc/config/vuci
Then:

  • Press i to enter Insert mode.

  • Add a new line option firstlogin '0' to the config core 'main'

  • Press ESC.

  • Type :wq and press Enter to save and exit.

Best Regards,
Justinas

Thank you for the setting location, now I know I can use the uci command:

uci set vuci.main.firstlogin=0

and/or the Ansible community.openwrt.uci module:

- community.openwrt.uci:
    command: set
    key: vuci.main.firstlogin
    value: 0