TMA-MYSQL-2.5
Do Not Reuse Usernames
BajaNivel 1Revisión manualmysql
Descripción
Database user accounts should not be reused for multiple applications or users.
Cómo se verifica
Método de auditoría: Revisión manual
Esta recomendación no se puede verificar automáticamente. Un escaneo la lista con estas instrucciones cuando se pasa --include-manual.
List accounts: SELECT host, user, plugin FROM mysql.user WHERE user NOT IN ('mysql.infoschema','mysql.session','mysql.sys'); Each account must belong to exactly one system account, person or application; shared or reused usernames are a fail.
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
Create a separate account per person, application and system account, migrate their grants, and drop the shared accounts.
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- mysqldatabaseauthenticationmanual
- Referencia
- CIS Oracle MySQL Community Server 8.4 Benchmark v1.1.0 - 2.5 Do Not Reuse Usernames