Hello,
Changing password via SSH does not affect the first login script. To disable the first login script on devices running RutOS (7.0 or newer) firmware, execute the following command via CLI (SSH) in addition to changing the password with passwd command:
uci delete vuci.main.firstlogin='1' && uci set vuci.main.advanced='1' && uci commit && reload_config
This command will delete the first login script and it'll set the router WebUI mode to advanced straight away.
Please note that this command will only work on devices running the newer RutOS firmware (v7+). It is slightly different if using legacy firmware.
To disable first login query on legacy firmware, run the following commands in the CLI (SSH):
uci delete teltonika.sys.first_login='1' && uci set teltonika.sys.pass_changed='1' && uci commit && reload_config
Best regards,
Tomas.