I am not sure if this is a bug or what, but somehow, for a password, if I enter as:
djasd$*ghr
it will become
djasdghr
This is true for root/sudo password, but I cant remember if its happening with db password or not. it might be for all special characters?