mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-10 22:47:03 +00:00
Update cheatsheets
This commit is contained in:
17
linux/unshadow
Normal file
17
linux/unshadow
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user