diff --git a/content/en/docs/SecHarden/security-hardening-tools.md b/content/en/docs/SecHarden/security-hardening-tools.md index cc0ca2cf523dcd0d74e64835029a6a727f9c0a24..0cfbfd942d51f13e70f0155d1fa57ff9a2816e77 100644 --- a/content/en/docs/SecHarden/security-hardening-tools.md +++ b/content/en/docs/SecHarden/security-hardening-tools.md @@ -66,7 +66,7 @@ Each line in the **usr-security.conf** file indicates a configuration item. Th Example: If the execution ID is **201**, replace lines starting with **size** in the **/etc/audit/hzqtest** file with **size 2048**. ``` - 201@sm@/etc/audit/hzqtest@size @2048 + 201@sm@/etc/audit/hzqtest@size@ 2048 ``` @@ -91,7 +91,7 @@ Each line in the **usr-security.conf** file indicates a configuration item. Th Example: If the execution ID is **218**, stop the **cups.service**. This provides the same function as running the **systemctl stop cups.service** command. ``` - 218@systemctl @cups.service@stop + 218@systemctl@cups.service@stop ```    diff --git "a/content/zh/docs/SecHarden/\345\256\211\345\205\250\345\212\240\345\233\272\345\267\245\345\205\267.md" "b/content/zh/docs/SecHarden/\345\256\211\345\205\250\345\212\240\345\233\272\345\267\245\345\205\267.md" index 2d2de8ab659f0c7990af9a9c117d2a50ffdf5e7a..6668e941e94a5aa901447a475a99cd7635b85765 100644 --- "a/content/zh/docs/SecHarden/\345\256\211\345\205\250\345\212\240\345\233\272\345\267\245\345\205\267.md" +++ "b/content/zh/docs/SecHarden/\345\256\211\345\205\250\345\212\240\345\233\272\345\267\245\345\205\267.md" @@ -62,7 +62,7 @@ usr-security.conf中的每一行代表一项配置,根据配置内容的不同 示例:执行ID为201,将/etc/audit/hzqtest文件中以size开头的行替换为size 2048。 ``` - 201@sm@/etc/audit/hzqtest@size @2048 + 201@sm@/etc/audit/hzqtest@size@ 2048 ``` @@ -87,7 +87,7 @@ usr-security.conf中的每一行代表一项配置,根据配置内容的不同 示例:执行ID为218,停止cups.service服务,等同于systemctl stop cups.service的配置行。 ``` - 218@systemctl @cups.service@stop + 218@systemctl@cups.service@stop ``` - 其他命令