This sets the password to the hex-encoded MD5 digest of the password (which eventually gets encoded using some variant of
). So it would "work", except that instead of typing the actual password at the prompt, you'd need to type in the MD5 hash. I doubt this is what you want.