| 1 |
install soname "cracklib_password_check"; |
| 2 |
select * from information_schema.plugins where plugin_name='cracklib_password_check'; |
| 3 |
PLUGIN_NAME cracklib_password_check |
| 4 |
PLUGIN_VERSION 1.0 |
| 5 |
PLUGIN_STATUS ACTIVE |
| 6 |
PLUGIN_TYPE PASSWORD VALIDATION |
| 7 |
PLUGIN_TYPE_VERSION 1.1 |
| 8 |
PLUGIN_LIBRARY cracklib_password_check.so |
| 9 |
PLUGIN_LIBRARY_VERSION 1.15 |
| 10 |
PLUGIN_AUTHOR Sergei Golubchik |
| 11 |
PLUGIN_DESCRIPTION Password validation via CrackLib |
| 12 |
PLUGIN_LICENSE GPL |
| 13 |
LOAD_OPTION ON |
| 14 |
PLUGIN_MATURITY Stable |
| 15 |
PLUGIN_AUTH_VERSION 1.0 |
| 16 |
grant select on *.* to foocar identified by 'foocar'; |
| 17 |
ERROR HY000: Your password does not satisfy the current policy requirements (cracklib_password_check) |
| 18 |
show warnings; |
| 19 |
Level Code Message |
| 20 |
Warning 1819 cracklib: it is based on your username |
| 21 |
Error 1819 Your password does not satisfy the current policy requirements (cracklib_password_check) |
| 22 |
grant select on *.* to foocar identified by 'racoof'; |
| 23 |
ERROR HY000: Your password does not satisfy the current policy requirements (cracklib_password_check) |
| 24 |
show warnings; |
| 25 |
Level Code Message |
| 26 |
Warning 1819 cracklib: it is based on your username |
| 27 |
Error 1819 Your password does not satisfy the current policy requirements (cracklib_password_check) |
| 28 |
grant select on *.* to foo@barbar identified by 'barbar'; |
| 29 |
ERROR HY000: Your password does not satisfy the current policy requirements (cracklib_password_check) |
| 30 |
show warnings; |
| 31 |
Level Code Message |
| 32 |
Warning 1819 cracklib: it does not contain enough DIFFERENT characters |
| 33 |
Error 1819 Your password does not satisfy the current policy requirements (cracklib_password_check) |
| 34 |
grant select on *.* to foobar identified by 'qwerty'; |
| 35 |
ERROR HY000: Your password does not satisfy the current policy requirements (cracklib_password_check) |
| 36 |
show warnings; |
| 37 |
Level Code Message |
| 38 |
Warning 1819 cracklib: it is based on a dictionary word |
| 39 |
Error 1819 Your password does not satisfy the current policy requirements (cracklib_password_check) |
| 40 |
grant select on *.* to foocar@localhost identified by 'localhost'; |
| 41 |
ERROR HY000: Your password does not satisfy the current policy requirements (cracklib_password_check) |
| 42 |
show warnings; |
| 43 |
Level Code Message |
| 44 |
Warning 1819 cracklib: it is based upon your password entry |
| 45 |
Error 1819 Your password does not satisfy the current policy requirements (cracklib_password_check) |
| 46 |
grant select on *.* to foocar@localhost identified by 'foocar@localhost'; |
| 47 |
ERROR HY000: Your password does not satisfy the current policy requirements (cracklib_password_check) |
| 48 |
show warnings; |
| 49 |
Level Code Message |
| 50 |
Warning 1819 cracklib: it is derived from your password entry |
| 51 |
Error 1819 Your password does not satisfy the current policy requirements (cracklib_password_check) |
| 52 |
grant select on *.* to foobar identified by 'q$%^&*rty'; |
| 53 |
drop user foobar; |
| 54 |
# |
| 55 |
# MDEV-9851: CREATE USER w/o IDENTIFIED BY clause causes crash |
| 56 |
# when using cracklib plugin |
| 57 |
# |
| 58 |
create user 'newuser'@'localhost'; |
| 59 |
ERROR HY000: Your password does not satisfy the current policy requirements (cracklib_password_check) |
| 60 |
uninstall plugin cracklib_password_check; |
| 61 |
create user foo1 identified by 'pwd'; |
| 62 |
drop user foo1; |