[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Changing pass-phrase on dm-crypt'ed disks



On Tuesday 26 Jun 2012 10:47:50 Claudius Hubig wrote:

> If you do luksAddKey, you’ll have to enter one of the old
> passphrases. After that, you can try unlocking the volume with the
> new passphrase. If that succeeds, you can use luksKillSlot to remove
> the first slot.

luksDelKey or luksKillSlot ?
I don't yet understand the relationship between them, nor when it is necessary 
to "kill a key slot".

> I did this several times without problems, although I would suggest
> unmounting the filesystem and closing the device.

Um ... I'd have to be in single-user mode then I guess ... assuming there's 
even enough software in /boot (and/or the initramfs) to fiddle with unmounted 
encrypted root filesystems.

Cheers
Nick
-- 
Never FDISK after midnight


Reply to: