1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 23:17:58 +01:00
tldr/pages/linux/unshadow.md
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00

416 B

unshadow

Utility provided by the John the Ripper project to obtain the traditional Unix password file if the system uses shadow passwords. More information: https://www.openwall.com/john/.

  • Combine the /etc/shadow and /etc/passwd of the current system:

sudo unshadow /etc/passwd /etc/shadow

  • Combine two arbitrary shadow and password files:

sudo unshadow {{path/to/passwd}} {{path/to/shadow}}