This suggests to me that the problem is something else. For example, why should the password expire? By default, this feature is usually disabled by default, on the Dwarf and on every Linux system I have ever used. It seems unlikely, but did you really change the default root password and/or enable expiry?
In any case, if the MOD web-ui is working, I would recommend making a backup of your data via the settings page before you do anything else.
I think it may be necessary to reflash the Dwarf, but I would definitely see if anyone here has any better ideas and first contact MOD support - ‘Help us Obi @jon Kenobi, you’re our only hope’.
Actually, thinking about it that’s not quite true: by default the passwords expire after 99,999 days (~273 years) - is there something really weird happening with the date?
It seems to be caused by changing the password, I flashed it and then changed the password again, exactly the same problem.
Very weird, I’m guessing something to do with it not knowing the real datetime (no battery, no ip based time), then thinking it is existing in the past compared to when the password was changed when trying to log in.
Maybe I am the only person to try changing the password!
I never heard about this problem before in any of our devices, not even faced it myself.
My best suggestion for now is to back up everything on your device and do a factory reset.
Let us know if that solves the issue.
Why change the password? as you’ve asserted this causes issues.
Since the devices are only locally accessible there’s no need to modify the default password.