Having installed Ubuntu 11.10 with whole disk encryption and LVM, I need to provide a way for users to easily change LUKS passphrase.
Preferably, this should be done using GUI tools, thus, enabling novice users to perform this basic task.
Tested in ubuntu 14.04: Search for the "Disks" application
Select Device, select volume, Click cogs (more actions) -> "Change passphrase"
This will ask you first for a valid pass-phrase (in any enabled keyslot) then will prompt you fro the new passphrase in the target keyslot
I'm sure this can be wrapped up in an applet got windows oriented lovers.
I am not familiar with gui tool but
Basically AFAIK luks lets you add 8 passphrase slots and you can do that with:
where 0 is the slot number. I guess luks stores slots as 0,1,2 etc. But I recommend you to be very careful with luks as you may lock yourself out. Please refer to manual of cryptsetup. Also I recommend you to visit other distro IRC channel just to be extra safe before you proceed.
You may need to reboot the machine and try your new passsphrase as well before you remove the key.
EDIT: Seems like