mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-06-17 06:38:26 +00:00
Fixed selinux issue for Rocky 9 and Mysql restart for Ubuntu install
This commit is contained in:
5
package/linux/db/secure_mysql.sql
Normal file
5
package/linux/db/secure_mysql.sql
Normal file
@ -0,0 +1,5 @@
|
||||
DELETE FROM mysql.user WHERE User='';
|
||||
DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1');
|
||||
DROP DATABASE IF EXISTS test;
|
||||
DELETE FROM mysql.db WHERE Db='test' OR Db='test\\_%';
|
||||
FLUSH PRIVILEGES
|
Reference in New Issue
Block a user