26 lines
647 B
Diff
26 lines
647 B
Diff
|
|
From 7d4b42752a11b12088baad881a6e2cac3da638e7 Mon Sep 17 00:00:00 2001
|
||
|
|
From: yixiangzhike <yixiangzhike007@163.com>
|
||
|
|
Date: Sat, 13 Aug 2022 13:04:17 +0800
|
||
|
|
Subject: [PATCH] fix error length about simplistic password
|
||
|
|
|
||
|
|
---
|
||
|
|
util/cracklib-format | 2 +-
|
||
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/util/cracklib-format b/util/cracklib-format
|
||
|
|
index 360d109..2c1f61f 100755
|
||
|
|
--- a/util/cracklib-format
|
||
|
|
+++ b/util/cracklib-format
|
||
|
|
@@ -6,7 +6,7 @@
|
||
|
|
LC_ALL=C
|
||
|
|
export LC_ALL
|
||
|
|
gzip -cdf "$@" |
|
||
|
|
- grep -a -E -v '^.{30,}$' |
|
||
|
|
+ grep -a -E -v '^.{32,}$' |
|
||
|
|
tr '[:upper:]' '[:lower:]' |
|
||
|
|
sed s/[[:space:]]//g |
|
||
|
|
sort -u
|
||
|
|
--
|
||
|
|
2.33.0
|
||
|
|
|