云数据库 GaussDB-CREATE WEAK PASSWORD DICTIONARY:示例

时间:2023-11-01 16:22:11

示例

--向gs_global_config系统表中插入单个弱口令。 openGauss=# CREATE WEAK PASSWORD DICTIONARY WITH VALUES ('password1');  --向gs_global_config系统表中插入多个弱口令。 openGauss=# CREATE WEAK PASSWORD DICTIONARY WITH VALUES ('password2'),('password3');  --清空gs_global_config系统表中所有弱口令。 openGauss=# DROP WEAK PASSWORD DICTIONARY;  --查看现有弱口令。 openGauss=# SELECT * FROM gs_global_config WHERE NAME LIKE 'weak_password';
support.huaweicloud.com/centralized-devg-v2-opengauss/devg_03_0585.html