Bug #83779 | mysql_secure_installation does not consider Ctrl-C / ^C keyboard sequence | ||
---|---|---|---|
Submitted: | 10 Nov 2016 22:23 | Modified: | 14 Nov 2016 7:00 |
Reporter: | Oli Sennhauser | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
Version: | 5.7.16 | OS: | Linux |
Assigned to: | CPU Architecture: | Any | |
Tags: | Abort, mysql_secure_installation |
[10 Nov 2016 22:23]
Oli Sennhauser
[10 Nov 2016 22:33]
Oli Sennhauser
Without having any clue: Is SIGRT the right thing to do here...?
[11 Nov 2016 7:15]
MySQL Verification Team
Hello Oli, Thank you for the bug report. Could you please provide the exact MySQL Server Build/OS details etc as I had no issues on Win7/OL7(MySQL installed using unzip/binary tarball builds)/Ubuntu16.04LTS(MySQL installed using Apt repo) with Control-C and it instantly aborted? Thanks, Umesh
[13 Nov 2016 20:04]
Oli Sennhauser
Hello Umesh Ctrl-C does not work on the password prompt for example: shell> mysql_secure_installation --user=root Securing the MySQL server deployment. Enter password for user root: <- Here it does NOT work! I am using Generic binary Tar balls. For example this: mysql-5.7.15-linux-glibc2.5-x86_64 Regards, Oli
[14 Nov 2016 7:00]
MySQL Verification Team
Thank you Oli. Confirmed that Ctrl-C does not work on the password prompt. . Securing the MySQL server deployment. Connecting to MySQL using a blank password. VALIDATE PASSWORD PLUGIN can be used to test passwords and improve security. It checks the strength of password and allows the users to set only those passwords which are secure enough. Would you like to setup VALIDATE PASSWORD plugin? Press y|Y for Yes, any other key for No: Y There are three levels of password validation policy: LOW Length >= 8 MEDIUM Length >= 8, numeric, mixed case, and special characters STRONG Length >= 8, numeric, mixed case, special characters and dictionary file Please enter 0 = LOW, 1 = MEDIUM and 2 = STRONG: 2 Please set the password for root here. New password: ^^ Try here Ctrl-C Regards, Umesh