linux 命令和教程补充

This commit is contained in:
estomm
2021-12-24 11:16:28 +08:00
parent 40e916976b
commit b7c3653392
586 changed files with 46455 additions and 39 deletions

View File

@@ -0,0 +1,39 @@
grpunconv
===
用来关闭群组的投影密码
## 补充说明
**grpunconv命令** 用来关闭群组的投影密码。它会把密码从gshadow文件内回存到group文件里。
### 语法
```shell
grpunconv
```
### 实例
未关闭的情况
```shell
cat /etc/gshadow | grep cdy
cdy:123456::
```
关闭影子密码
```shell
cat /etc/gshadow
cat: /etc/gshadow: 没有那个文件或目录
```
查看密码已经复制到`/etc/group`中了。
```shell
cat /etc/group | grep cdy
cdy:123456:1000:
```