【牧云】牧云(CloudWalker)单机版设置web控制台密码复杂度
目前需要通过修改文件的方式配置密码复杂度。通过调整对应参数:
vi /data/cloudwalker/config/config.yml
# min length of password
PASSWORD_MIN_LENGTH: 8
# You could fill any of {"digit", "lower", "upper", "symbol"} into PASSWORD_MUST_CONTAINS slice
# After setting, whole char type of PASSWORD_MUST_CONTAINS should be appeared in password
PASSWORD_MUST_CONTAINS: ["upper", "lower", "digit"]
最小密码长度:
PASSWORD_MIN_LENGTH: 8
密码复杂度:
PASSWORD_MUST_CONTAINS: ["upper", "lower", "digit"]
目前支持的 "digit", "lower", "upper", "symbol",分别是数字、小写、大写、符号
修改完成后需要重启cloudwalker容器
docker restart cloudwalker
完成cloudwalker容器重启之后,可前往web控制台修改密码验证