summaryrefslogtreecommitdiff
path: root/mysql-test/suite/plugins/r/two_password_validations.result
blob: 4bd674baebb0c5fa7f168e445b0233ffb17d5151 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
install soname "simple_password_check";
grant select on *.* to Fff_fff1 identified by '1fff_ffF';
drop user Fff_fff1;
install soname "cracklib_password_check";
grant select on *.* to foobar identified by 'q$%^&*R1234ty';
drop user foobar;
grant select on *.* to Fff_fff1 identified by '1fff_ffF';
ERROR HY000: Your password does not satisfy the current policy requirements (cracklib_password_check)
show warnings;
Level	Code	Message
Warning	1819	cracklib: it does not contain enough DIFFERENT characters
Error	1819	Your password does not satisfy the current policy requirements (cracklib_password_check)
grant select on *.* to foobar identified by 'q-%^&*rty';
ERROR HY000: Your password does not satisfy the current policy requirements (simple_password_check)
show warnings;
Level	Code	Message
Warning	1819	simple_password_check: Not enough upper case letters (< 1)
Warning	1819	simple_password_check: Not enough digits (< 1)
Error	1819	Your password does not satisfy the current policy requirements (simple_password_check)
uninstall plugin simple_password_check;
grant select on *.* to foobar identified by 'q-%^&*rty';
drop user foobar;
uninstall plugin cracklib_password_check;