TMAegis
Thêm quy tắc cho tdsql

TMA-TDSQL-2.6

Ensure Default Configuration Passwords Have Been Changed

Nghiêm trọngCấp 1Xem xét thủ côngtdsql

Mô tả

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

Cách kiểm tra

Phương pháp kiểm tra: Xem xét thủ công

Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --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.

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

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.

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
tdsqlcredentials
Tham chiếu
CIS Tencent TDSQL 10.3.22 Benchmark v1.0.0 - 2.6 Ensure Default Configuration Passwords Have Been Changed