-
Notifications
You must be signed in to change notification settings - Fork 472
Closed
Labels
Milestone
Description
PR: cockroachdb/cockroach#43892
From release notes:
CREATE USER
andALTER USER
now accept the parameter[WITH] PASSWORD NULL
to indicate the user's password should be removed, thus preventing them from using password authentication. This is compatible with PostgreSQL. [#43892][#43892] {% comment %}doc{% endcomment %}Previously, when setting a user's password to enable password authentication for the user, it was not possible to revert this choice. The only way to disable password authentication was to either drop the user or add a specific per-user HBA rule. This has been fixed and the PostgreSQL-compatible
ALTER USER WITH PASSWORD NULL
statement can now be used to clear the user's password. [#43892][#43892] {% comment %}doc{% endcomment %}