Postgresql配置创建密码复杂度检查模块

  1. 配置需要再postgresql.conf添加
    shared_preload_libraries='passwordcheck'

psql -h localhost -U postgres -d postgres

pg_ctl restart -D $PGDATA

配置pg_hba.conf md5
然后进行重启

Postgresql配置创建密码复杂度检查模块

测试:
Postgresql配置创建密码复杂度检查模块

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章