TMAegisBeta
更多 tdsql 規則

TDSQL

TMA-TDSQL-2.6

Ensure Default Configuration Passwords Have Been Changed

嚴重等級 1人工審核tdsql

說明

All default/sample passwords must be changed before production deployment: scheduler.xml: oc_tool password, system user passwords oss.json: system accounts (tdsqlsys_kp_new, tdsqlsys_check, tdsqlsys_agent, tdsqlsys_repl, tdsqlsys_normal) ZooKeeper authentication credentials MySQL root and administrative user passwords

檢查方式

稽核方法: 人工審核

此項建議無法自動檢查。當您傳入 --include-manual 時,掃描結果會列出此項目並附帶這些說明。

Run grep -rE 'password\s*=\s*"(root|admin|123456|password|test)"' <tdsql>/conf/ (must return nothing) and grep -E "password|pwd" <tdsql>/conf/scheduler.xml: values must be long encrypted strings. Diff the password fields of the installed scheduler.xml against the install template; any value equal to the template sample value is a finding.

修補方式

修補方法: 操作指南或基礎設施修補檔

Change all default passwords and use TDSQL's encrypted storage capability: <!-- Use a strong, encrypted password --> <oc_tool location="/data/oc_agent/bin" port="8966" user="tdsql" password=" <encrypted_strong_password>" /> TDSQL provides a password encryption utility for offline password encryption.

屬性

作業系統
不限
標籤
tdsqlcredentials
參考資料
CIS Tencent TDSQL 10.3.22 Benchmark v1.0.0 - 2.6 Ensure Default Configuration Passwords Have Been Changed