cryptsetup luksAddKey /dev/sdb1

Category: Security & Hardening

cryptsetup luksAddKey /dev/sdb1

Add a passphrase to a LUKS volume

Adds another passphrase slot to the LUKS-encrypted device /dev/sdb1 after prompting for an existing one. Multiple keys let several users or an escrow key unlock the volume. Remove a slot with cryptsetup luksRemoveKey /dev/sdb1.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.