I assume that the files oldpass.txt and newpass.txt contain the passwords in plain text ?
In that case try the attached script.
I assume that the files oldpass.txt and newpass.txt contain the passwords in plain text ?
In that case try the attached script.