Change password for LUKS encrypted drive

# cryptsetup luksChangeKey /dev/vda5

Replace /dev/vda5 with your actual LUKS device. The command will ask you for the existing passphrase to replace, and then for the new passphrase for the device.

Leave a Reply

Your email address will not be published. Required fields are marked *