1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/unshadow.md
Managor 1f63ed5e22
linux*: refresh old pages part 1 (#16251)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-04-25 04:34:04 +03:00

420 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/doc/.

  • 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}}