docs: add verification result
This commit is contained in:
@@ -1,6 +1,28 @@
|
|||||||
# 2026 国庆综合考核实践题
|
# 2026 国庆综合考核实践题
|
||||||
|
|
||||||
任务:
|
任务:
|
||||||
在 Linux 环境中创建 testuser 和 testgroup,
|
在 Linux 环境中创建 `testuser` 和 `testgroup`,
|
||||||
将 testuser 加入 testgroup,
|
将 `testuser` 加入 `testgroup`,
|
||||||
最后使用 id testuser 验证。
|
最后使用 `id testuser` 验证。
|
||||||
|
|
||||||
|
## 运行
|
||||||
|
|
||||||
|
执行:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo bash setup.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
## 验证
|
||||||
|
|
||||||
|
执行:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
id testuser
|
||||||
|
```
|
||||||
|
|
||||||
|
输出:
|
||||||
|
|
||||||
|
```text
|
||||||
|
uid=1001(testuser) gid=1002(testuser) groups=1002(testuser),1001(testgroup)
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user