mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 15:53:34 +02:00
unshadow: add page (#4041)
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
This commit is contained in:
parent
182c6a7036
commit
d1f0c8baf1
1 changed files with 12 additions and 0 deletions
12
pages/linux/unshadow.md
Normal file
12
pages/linux/unshadow.md
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# 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}}`
|
Loading…
Add table
Reference in a new issue