security - How to change LUKS passphrase? - Ask Ubuntu


having installed ubuntu 11.10 whole disk encryption , lvm, need provide way users change luks passphrase.

preferably, should done using gui tools, thus, enabling novice users perform basic task.

i not familiar gui tool cryptsetup tool interact luks.

basically afaik luks lets add 8 passphrase slots , can with:

sudo cryptsetup -y luksaddkey encrypted_partition sudo cryptsetup luksremovekey encrypted_partition 

where 0 slot number. guess luks stores slots 0,1,2 etc. recommend careful luks may lock out. please refer manual of cryptsetup. recommend visit other distro irc channel safe before proceed.

you may need reboot machine , try new passsphrase before remove key.

cryptsetup

edit: seems gnome-disk-utility lets change passphrase.

enter image description here

enter image description here


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User