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.
I hear you. The very first system Unix system I had root to ended up with two etc directories. It took a really long time to figure out I hadn't corrupted the filesystem but instead had created one directory named /etc<DEL> which was an unprintable character.