From 22975171671b3fceb8be8b2db0b001a3e9c67bd1 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Mon, 5 Oct 2026 15:23:37 +0000 Subject: [PATCH] docs: add verification result --- README.md | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 40f494c..be64beb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,28 @@ # 2026 国庆综合考核实践题 任务: -在 Linux 环境中创建 testuser 和 testgroup, -将 testuser 加入 testgroup, -最后使用 id testuser 验证。 +在 Linux 环境中创建 `testuser` 和 `testgroup`, +将 `testuser` 加入 `testgroup`, +最后使用 `id testuser` 验证。 + +## 运行 + +执行: + +```bash +sudo bash setup.sh +``` + +## 验证 + +执行: + +```bash +id testuser +``` + +输出: + +```text +uid=1001(testuser) gid=1002(testuser) groups=1002(testuser),1001(testgroup) +```