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配置創建密碼複雜度檢查模塊

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