Fixed plugins.cracklib_password_check failure
In RHEL7/RHEL7.1 libcrack behavior seem to have been modified so that "foobar" password is considered bad (due to descending "ba") earlier than expected. For details google for cracklib-2.9.0-simplistic.patch. Adjusted affected passwords not to have descending and ascending sequences.
This commit is contained in:
parent
ab44e892d8
commit
e9f6c8167e
@ -13,13 +13,13 @@ PLUGIN_LICENSE GPL
|
||||
LOAD_OPTION ON
|
||||
PLUGIN_MATURITY Alpha
|
||||
PLUGIN_AUTH_VERSION 1.0
|
||||
grant select on *.* to foobar identified by 'foobar';
|
||||
grant select on *.* to foocar identified by 'foocar';
|
||||
ERROR HY000: Your password does not satisfy the current policy requirements
|
||||
show warnings;
|
||||
Level Code Message
|
||||
Warning 1819 cracklib: it is based on your username
|
||||
Error 1819 Your password does not satisfy the current policy requirements
|
||||
grant select on *.* to foobar identified by 'raboof';
|
||||
grant select on *.* to foocar identified by 'racoof';
|
||||
ERROR HY000: Your password does not satisfy the current policy requirements
|
||||
show warnings;
|
||||
Level Code Message
|
||||
|
@ -12,11 +12,11 @@ select * from information_schema.plugins where plugin_name='cracklib_password_ch
|
||||
--horizontal_results
|
||||
|
||||
--error ER_NOT_VALID_PASSWORD
|
||||
grant select on *.* to foobar identified by 'foobar';
|
||||
grant select on *.* to foocar identified by 'foocar';
|
||||
show warnings;
|
||||
|
||||
--error ER_NOT_VALID_PASSWORD
|
||||
grant select on *.* to foobar identified by 'raboof';
|
||||
grant select on *.* to foocar identified by 'racoof';
|
||||
show warnings;
|
||||
|
||||
--error ER_NOT_VALID_PASSWORD
|
||||
|
Loading…
x
Reference in New Issue
Block a user