usermngr: modify password policy

This commit is contained in:
Suvendhu Hansa 2025-08-14 16:32:18 +05:30 committed by Vivek Kumar Dutta
parent 7ee83ff47f
commit c150053a83
No known key found for this signature in database
GPG key ID: 4E09F5AD8265FD4C
3 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=usermngr
PKG_VERSION:=1.3.11
PKG_VERSION:=1.3.12
LOCAL_DEV:=0
ifneq ($(LOCAL_DEV),1)

View file

@ -6,7 +6,7 @@ config security_policy 'security_policy'
config passwdqc 'passwdqc'
option enabled '1'
option min 'disabled,disabled,disabled,disabled,8'
option min 'disabled,disabled,disabled,8,8'
option max '20'
option passphrase '0'
option retry '3'

View file

@ -13,7 +13,7 @@ fi
if ! uci -q get users.passwdqc; then
uci -q set users.passwdqc='passwdqc'
uci -q set users.passwdqc.enabled='1'
uci -q set users.passwdqc.min='disabled,disabled,disabled,disabled,8'
uci -q set users.passwdqc.min='disabled,disabled,disabled,8,8'
uci -q set users.passwdqc.max='20'
uci -q set users.passwdqc.passphrase='0'
uci -q set users.passwdqc.retry='3'