TMAegisBeta
More rules for tdsql

TDSQL

TMA-TDSQL-12.8

Ensure OSS Super User Password Auto-Rotation Is Enabled

MediumLevel 2Manual reviewtdsql

Description

The OSS super user (osssuper) supports automatic password rotation (<super_user ... rotation="1"/> in scheduler.xml). When enabled, OSS automatically resets the super user password on a preset cycle and writes the new password back to the configuration in encrypted form.

How it is checked

Audit method: Manual review

This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.

Run grep '<super_user' <tdsql>/conf/scheduler.xml and confirm the element has rotation="1" (and an encrypted pwd that differs from the install template). rotation="0" or a missing attribute is a finding.

How it is fixed

Fix method: Guidance or infrastructure patch

<super_user username="osssuper" pwd="<encrypted_strong_password>" host="10.0.0.0/8" rotation="1"/>

Properties

Operating systems
Any
Tags
tdsqlcredentialsoss
Reference
CIS Tencent TDSQL 10.3.22 Benchmark v1.0.0 - 12.8 Ensure OSS Super User Password Auto-Rotation Is Enabled