root.sh - adikbo/wrtmanager GitHub Wiki
Script used for root passowrd change.
Very experimental version - you are using it on your own risk!
1st parameter - ip address 2nd parameter - current root password 3rd parameter - new root password
This script executes passwd command on the spawned ssh session and waits for the correct output. If the new password prompt appears - it sends new password. When the passwd asks for retype password same password should be sent.
After all password is changed.