I booted my Raspberry Pi with a buildroot image I generated myself, and now I am trying to connect to raspberry via ssh.
Everything seems to be fine and the raspberry gets connected. But when I try to log in with root it says access denied. So I created a new user, but when I try to login with that user it says that my password expired and that I have to change it.
I went to my shadow file on my rpi and I got this:
This technically means that password would expire 273 years from now.
I thought the problem was that my rpi date is Jan 1970, but I don't understand since expiration is maximised. Do you have any idea on what might be causing this?