24 lines
682 B
Diff
24 lines
682 B
Diff
|
|
From 7611d421fb3170b445eda400899cf04519201aa4 Mon Sep 17 00:00:00 2001
|
||
|
|
From: sunguoshuai <sunguoshuai@huawei.com>
|
||
|
|
Date: Wed, 23 Jan 2019 19:10:44 +0800
|
||
|
|
Subject: [PATCH] modify cracklib format
|
||
|
|
|
||
|
|
reason: modify cracklib format
|
||
|
|
|
||
|
|
Signed-off-by:sunguoshuai <sunguoshuai@huawei.com>
|
||
|
|
---
|
||
|
|
util/cracklib-format | 2 +-
|
||
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/util/cracklib-format b/util/cracklib-format
|
||
|
|
index 7d7953f..3465fbc 100644
|
||
|
|
--- a/util/cracklib-format
|
||
|
|
+++ b/util/cracklib-format
|
||
|
|
@@ -8,5 +8,5 @@ export LC_ALL
|
||
|
|
gzip -cdf "$@" |
|
||
|
|
grep -a -E -v '^.{30,}$' |
|
||
|
|
tr '[:upper:]' '[:lower:]' |
|
||
|
|
- tr -cd '\n[:graph:]' |
|
||
|
|
+ sed s/[[:space:]]//g |
|
||
|
|
sort -u
|