Change LUKS Disk Password

The disk is encrypted with Luks, which allows you to have up to 8
passwords (i"key slots" in luks parlance)

Although you can use sudo luks cryptsetup luksChangeKey /dev/XXXXX, I
recommend that you ADD a key and then remove the original.
You can do this with sudo cryptsetup luksAddKey /dev/XXXXX. This
gives you a chance to test out the new password.
Once you are content, remove the original with sudo cryptsetup luksRemoveKey /dev/XXXXX - LUKS will prompt you for a password and
remove the associated key.

As always, the Arch documentation is comprehensive, but readable:

4 Likes