2025-03-14 21:59:59 -06:00
|
|
|
# unshadow
|
|
|
|
|
|
|
|
|
|
> Utility provided by the John the Ripper project to obtain the traditional Unix password file if the system uses shadow passwords.
|
2025-05-08 12:26:01 -06:00
|
|
|
> More information: <https://www.openwall.com/john/doc/>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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}}`
|