crowdsec-docs icon indicating copy to clipboard operation
crowdsec-docs copied to clipboard

Database : CREATE USER 'crowdsec'@'%'

Open dik23 opened this issue 2 years ago • 0 comments

https://docs.crowdsec.net/docs/local_api/database#mysql-and-mariadb

On the databases page it's advises to mysql> CREATE USER 'crowdsec'@'%' IDENTIFIED BY '<password>';

MySQLTuner advises this is insecure

Restrict Host for 'crowdsec'@'%' to 'crowdsec'@LimitedIPRangeOrLocalhost RENAME USER 'crowdsec'@'%' TO 'crowdsec'@LimitedIPRangeOrLocalhost;

dik23 avatar May 25 '23 13:05 dik23