My username is z, and my password contains z, and the system disallow me to use that password. The error is:
BAD PASSWORD: The password contains the user name in some form.
This is an error and I cannot get pass through. I Googled about this problem but cannot find any working answer. These are the things I tried:
- Call passwd from root.
- Change /etc/pam.d/system-auth and /etc/pam.d/password-auth: from requisite to optional on pam_pwquality.so or comment out that line. Commenting out result in error "passwd: Authentication token manipulation error".
- Check /usr/sbin/authconfig --help, find no related option.
- Change /etc/security/pwquality.conf, find no related option. Tried gecoscheck=0, didn't make any different.
Can anyone help me?
password contains the user name
restriction is meant for the security. Why you want to bypass that ?91^length
rather than92^length
which for any reasonable length will eliminate millions or billions of passwords from selection), and thus signifigantly reduces the keyspace the password can be drawn from. the most secure choice would be to select a much longer username, but failing that, the rule is doing more harm than good in this specific case.zw
, for example? Not the answer you are looking for, but maybe the easiest work-round.