I inadvertently had this on a Sun. I was entering a new password from a remote terminal and accidentally hit a lower case letter where I wanted an upper case one. Reflexively I hit backspace, and the Sun used DEL, so it stored a ^H in the password. I was then unable to change it because while getty or login could handle it, passwd wouldn’t accept it as my existing password.