Luks:Password Changing

I use dm-crypt with a LUKS header for my work computer's encryption. While this probably isn't the best idea ever, it uses my Active Directory password for its key. While my Windows password is a very safe one, Windows NTLM is not the most secure hashing algorithm on the planet, but I digress.

I just changed my password at work after 3 months of use. That means I've got to update my LUKS header with the new key and remove the old one. Yes, this is in the man page, but I thought I'd post this here for anyone too lazy (like myself) to look in the man page. It turns out there is a change key feature of cryptsetup so we don't have to add and remove.

luksChangeKey [ ]