Files
tldr/pages.zh/linux/unshadow.md

12 lines
395 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# unshadow
> 由 John the Ripper 项目提供的工具,用于获取传统的 Unix 密码文件,如果系统使用阴影密码的话。
> 更多信息:<https://www.openwall.com/john/>.
- 合并当前系统的 `/etc/shadow``/etc/passwd`
`sudo unshadow /etc/passwd /etc/shadow`
- 合并两个任意的阴影和密码文件:
`sudo unshadow {{path/to/passwd}} {{path/to/shadow}}`