docs: add verification result

This commit is contained in:
Ubuntu
2026-10-05 15:23:37 +00:00
parent 86151f46c0
commit 2297517167
+25 -3
View File
@@ -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)
```