Could not find any help on this on google, and as I was following a guide I did not get why I got the error.
Anyways it was because in the guide I had set the password complexity with
addpol -minlength 8 -minclasses 3 admin
and thats all nice and good you should have good passwords, but I was not looking to change the root password for the system so I set it to allow less secure.
addpol -minlength 6 -minclasses 2 admin