You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
630 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

pwunconv
===
用来关闭用户的投影密码
## 说明
**pwunconv命令** 与pwconv功能相反用来关闭用户的投影密码。它会把密码从shadow文件内重回存到passwd文件里
## 选项
```
pwunconv
```
## 实例
```
pwunconv //关闭影子密码
cat /etc/passwd | grep test //发现密码已经在passwd文件中了
test:$6$nYOEWamm$bz07nlv/.RgJufb3FAqJJeULfwybzgxmrWqbk7O4vI0KsT6N.ujrh6dDIUcAJdfjksyuyAFDPIngZeD3cgcf.0:3001:3001::/home/test:/bin/sh
ls /etc/shadow //查看影子文件,提示没有这个文件或目录
ls: cannot access /etc/shadow: No such file or directory
```