2020-05-13 23:43:50 +01:00
|
|
|
# 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/>.
|
|
|
|
|
2021-01-31 17:05:18 +00:00
|
|
|
- Combine the `/etc/shadow` and `/etc/passwd` of the current system:
|
2020-05-13 23:43:50 +01:00
|
|
|
|
|
|
|
`sudo unshadow /etc/passwd /etc/shadow`
|
|
|
|
|
|
|
|
- Combine two arbitrary shadow and password files:
|
|
|
|
|
2020-10-28 17:19:43 +00:00
|
|
|
`sudo unshadow {{path/to/passwd}} {{path/to/shadow}}`
|