thanks for that Jakub much appreciated
in the end there was no problem, i just restarted my centos 7 vm and it started to work,
wierd!!!
how do i see the password expiration warning, where does it appear when i log in my centos
vm, do i need to open up terminal and type in a command to see it?