mirror of
https://github.com/Estom/notes.git
synced 2026-04-26 11:31:10 +08:00
linux 命令和教程补充
This commit is contained in:
39
Linux/command/grpunconv.md
Normal file
39
Linux/command/grpunconv.md
Normal 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:
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user