chage -d 0 does not prompt for password change on first login
I know this post may be silly but I am unable to find any solution to my problems. I have created a new user janedoe using the useradd command. And after that I have used the chage command in this way
chage -d 0 janedoe
However, when I ssh to the box, and try to login as janedoe, it does not prompt me for password change. It just asks for the password that I never set and hence I am unable to login.
Any help will be appreciated. I apologize if this post is too silly.
Thanks a ton!