Change Fedora LUKS passphrase

Open a command tool

Enter current passphrase in slot 0
Add new passphrase into slot 1

> su -
Password: xxxxxx
# cryptsetup luksAddKey /dev/sdc1

If you delete both slots…You’ve lost everything.

Delete original passphrase in slot 0

# cryptsetup luksDelKey /dev/sdc1 0

Leave a Reply