RTFM_ security field notes

Linux account hashes

Convert local account files into a crackable format and work through candidate sets in increasing cost.

Cracking is an offline operation on a hash file already in hand: it needs read access to the account databases, which on a default system means root. Raise the cost of each attempt only after the cheaper step fails.

john > john w/ wordlist > john w/wordlist and rules

Shadow

The hashes in /etc/shadow can be cracked with tools such as John the Ripper, but John expects a different layout. unshadow merges the passwd and shadow entries into that layout:

unshadow /etc/passwd /etc/shadow > toCrack.hashes

A plain john run against the resulting file is then possible. Add a wordlist and rules through John’s own syntax:

john toCrack.hashes
Provenance and confidence
Version
1
Sources reviewed
2026-11-23
Confidence
medium — Translated from the legacy RTFM page on 2026-11-23; commands and claims were not independently re-verified.

Also searched as: mots de passe, etc/shadow, unshadow, cracking de mots de passe, john