@ghyper9023/u2secure 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
# u2secure
|
|
2
2
|
|
|
3
|
-
Linux
|
|
3
|
+
Linux 服务器安全加固工具,提供交互式 CLI/TUI 和独立只读审计报告。
|
|
4
4
|
|
|
5
|
-
> Linux server security hardening
|
|
5
|
+
> Linux server security hardening with interactive CLI/TUI and standalone read-only audit reports.
|
|
6
6
|
>
|
|
7
7
|
> 支持平台 / Supported platform: Linux x86_64 & ARM64 (Linux only)
|
|
8
8
|
>
|
|
9
9
|
> 详细文档与使用指南请访问 / For full documentation and usage guide, visit:
|
|
10
10
|
> [GitHub 主页](https://github.com/cherish-ltt/U2Secure)
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
sudo u2secure audit
|
|
14
|
+
sudo u2secure audit --format json
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
审计要求 root,无需 TTY,不创建日志或报告文件。stdout 输出报告,stderr 输出诊断;退出 0 表示报告成功,不表示系统全部安全。保存文件由调用方重定向,并自行检查权限。
|
|
18
|
+
|
|
19
|
+
Audit requires root but no TTY and creates no log or report files. Reports go to stdout and diagnostics to stderr. Exit 0 means the report succeeded, not that every check is safe. Redirect output to save it and check file permissions.
|