Updating passphrase on LUKS home directory

export PARTITION=/dev/mapper/linux1----vg-home
sudo cryptsetup luksDump ${PARTITION}
sudo cryptsetup luksAddKey ${PARTITION}
sudo cryptsetup luksDump ${PARTITION}

change user password to new password
reboot (to ensure partition is unmounted
log in
verify LUKS is back with new password
then

export PARTITION=/dev/mapper/linux1----vg-home
sudo cryptsetup luksRemoveKey ${PARTITION}


Comments

Popular posts from this blog

Xubuntu Home Server on Dell XPS 13 9370

Cygwin + syslog-ng

Installing Fedora 21 on a (late 2014) Mac Mini