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

Install

All systems
curl cmd.cat/unshadow.sh
Debian Debian
apt-get install john
Ubuntu
apt-get install john
Alpine
apk add john
Arch Arch Linux
pacman -S john
image/svg+xml Kali Linux
apt-get install john
Fedora
dnf install john
Windows (WSL2)
sudo apt-get update sudo apt-get install john
OS X
brew install john
Raspbian
apt-get install john
Docker
docker run cmd.cat/unshadow unshadow powered by Commando

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

© tl;dr; authors and contributors