I’m trying to create a script to automatically configure the RUT200 router via SSH, setting it up from its factory settings to be ready for field installation. I’ve managed to handle most of my requirements, but I’m struggling with the password change.
When I use the command:
passwd admin
The password is successfully changed for both the admin and root accounts. However, when I access the web GUI, the “Change Password Wizard” still pops up, and I’m unable to proceed with the interface.
Is there a way to inform the system that the password has already been changed, so the wizard doesn’t appear?
Did you try, after changing the password… do a uci commit at cli, using your script?
OR
changing the password, using uci command?
typing uci show /etc/config/rpcd, I can see lines about root and admin password… But can changed using uci command? I am sorry… I don’t know… I am looking about. No promisses.