Repository navigation
[docs] Document secure built-in account initialization - #4610
Open
CalvinKirs wants to merge 1 commit into
Open
CalvinKirs wants to merge 1 commit into
CalvinKirs wants to merge 1 commit into
Conversation
Describe local root password initialization, optional admin activation, upgrades, password recovery and test compatibility for 4.2.1 and 5.0. Update authentication, FE configuration, quick start and both manual deployment guides in English and Chinese, for current and 4.x. Related implementation: apache/doris#70495 Validation: 20 Markdown/MDX pages compiled; front matter preserved; four offline hash examples matched the MySQL reference and rejected empty input; current/4.x patch parity and git diff --check passed. The repository docs-review is run against the committed range. Full Docusaurus build not run.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New clusters in Doris 4.2.1 and 5.0 require root to set a password through a local MySQL bootstrap session before normal SQL. Empty-password admin client logins are disabled until its password is set. Existing deployment guides run status queries and register nodes before this step, and some recovery instructions assume localhost always bypasses authentication.
This documents the initialization flow and updates the commands in the authentication guide, FE configuration reference, quick start, and both manual deployment guides. Related implementation: apache/doris#70495.
Changes
initial_root_password, offline hash generation, optional admin activation, test compatibility, and temporary local password recovery with cleanup. Distinguishallow_empty_password_for_root_adminfromskip_localhost_auth_check.Review and validation
docs-review.cjscompleted against exact base/head commits; 20/20 Markdown/MDX pages compiled with the locked MDX 3.1.0 compiler; 8 offline hash checks passed; current/4.x patch parity andgit diff --checkpassed.docs-reviewproduced no introduced findings compared with the base revision. Its four existingpriority_networksanchor errors are checker false positives: the headings exist, but an earlier inline triple-backtick snippet is interpreted as an unclosed fence by the link checker. Existing warnings and informational findings are unchanged.A full Docusaurus site build was not run. No new product runtime testing is claimed by this documentation PR; those results are recorded in the linked implementation PR.
Versions
Languages
Docs Checklist