From 9d27ee647c73c2e072712c086bcaa79107872d86 Mon Sep 17 00:00:00 2001 From: qiaominna Date: Thu, 10 Sep 2020 12:02:32 +0800 Subject: [PATCH] fixes the issues. --- .../en/docs/Installation/installation-guideline.md | 5 +++-- content/en/docs/Quickstart/quick-start.md | 6 ++++-- ...45\256\211\350\243\205\346\214\207\345\257\274.md" | 5 ++--- content/zh/docs/Quickstart/quick-start.md | 11 +++++------ 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/content/en/docs/Installation/installation-guideline.md b/content/en/docs/Installation/installation-guideline.md index 703c2b8..85c1734 100644 --- a/content/en/docs/Installation/installation-guideline.md +++ b/content/en/docs/Installation/installation-guideline.md @@ -271,8 +271,9 @@ The password of the **root** user or the password of the new user must meet th >![](public_sys-resources/icon-note.gif) **NOTE:** > In the installed openEuler environment, you can run the following command to export the dictionary library file **dictionary.txt**, and then check whether the password is in the dictionary. - > `cracklib-unpacker /usr/share/cracklib/pw_dict > dictionary.txt` - + ``` + cracklib-unpacker /usr/share/cracklib/pw_dict > dictionary.txt + ``` ### Setting the Root User Password diff --git a/content/en/docs/Quickstart/quick-start.md b/content/en/docs/Quickstart/quick-start.md index e656d6a..91c5acd 100644 --- a/content/en/docs/Quickstart/quick-start.md +++ b/content/en/docs/Quickstart/quick-start.md @@ -260,10 +260,12 @@ After entering the GUI installation page, perform the following operations to in - A password must contain at least three of the following types: uppercase letters, lowercase letters, digits, and special characters. - A password must be different from the account name. - A password cannot contain words in the dictionary. - + >![](public_sys-resources/icon-note.gif) **NOTE:** > In the installed openEuler environment, you can run the following command to export the dictionary library file **dictionary.txt**, and then check whether the password is in the dictionary. - > `cracklib-unpacker /usr/share/cracklib/pw_dict > dictionary.txt` + ``` + cracklib-unpacker /usr/share/cracklib/pw_dict > dictionary.txt + ``` **Figure 11** Password of the **root** account diff --git "a/content/zh/docs/Installation/\345\256\211\350\243\205\346\214\207\345\257\274.md" "b/content/zh/docs/Installation/\345\256\211\350\243\205\346\214\207\345\257\274.md" index 4362aaa..172e994 100644 --- "a/content/zh/docs/Installation/\345\256\211\350\243\205\346\214\207\345\257\274.md" +++ "b/content/zh/docs/Installation/\345\256\211\350\243\205\346\214\207\345\257\274.md" @@ -276,10 +276,9 @@ 2. 口令至少包含大写字母、小写字母、数字和特殊字符中的任意3种。 3. 口令不能和账号一样。 4. 口令不能使用字典词汇。 - - 查询字典 - - 在已装好的openEuler环境中,可以通过如下命令导出字典库文件dictionary.txt,用户可以查询密码是否在该字典中。 + >![](public_sys-resources/icon-note.gif) **说明:** + > 在已装好的openEuler环境中,可以通过如下命令导出字典库文件dictionary.txt,用户可以查询密码是否在该字典中。 ``` cracklib-unpacker /usr/share/cracklib/pw_dict > dictionary.txt ``` diff --git a/content/zh/docs/Quickstart/quick-start.md b/content/zh/docs/Quickstart/quick-start.md index f40e80c..f0b9e05 100644 --- a/content/zh/docs/Quickstart/quick-start.md +++ b/content/zh/docs/Quickstart/quick-start.md @@ -264,13 +264,12 @@ 4. 口令不能使用字典词汇。 - - 查询字典 + >![](public_sys-resources/icon-note.gif) **说明:** + > 在已装好的openEuler环境中,可以通过如下命令导出字典库文件dictionary.txt,用户可以查询密码是否在该字典中。 + ``` + cracklib-unpacker /usr/share/cracklib/pw_dict > dictionary.txt + ``` - 在已装好的openEuler环境中,可以通过如下命令导出字典库文件dictionary.txt,用户可以查询密码是否在该字典中。 - - ``` - cracklib-unpacker /usr/share/cracklib/pw_dict > dictionary.txt - ``` **图 10** root密码 ![](figures/root密码.png "root密码") -- GitLab