TMAegisBeta
更多 mysql 规则

MySQL

TMA-MYSQL-2.5

Do Not Reuse Usernames

低级别 1人工审核mysql

说明

Database user accounts should not be reused for multiple applications or users.

检查方式

审计方法: 人工审核

此项建议无法自动检查。当您传入 --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.

修复方式

修复方法: 操作指南或基础设施补丁

Create a separate account per person, application and system account, migrate their grants, and drop the shared accounts.

属性

操作系统
任意
标签
mysqldatabaseauthenticationmanual
参考
CIS Oracle MySQL Community Server 8.4 Benchmark v1.1.0 - 2.5 Do Not Reuse Usernames