So, here is what we do.
You can have multiple encryption keys on an encrypted drive from what I found
For me the sda5 is hard drive partition.. the cat command will tell you what to change.
First, you need to find out which is the encrypted LVM partition, it may be sda3, but it can also be sda5, sdX2, ...:
Toadd a new password, use luksAddKey:
sudo cryptsetup luksAddKey /dev/sda3
Toremove an existing password, use luksRemoveKey:
sudo cryptsetup luksRemoveKey /dev/sda3
View currently used slots of the encrypted partition:
sudo cryptsetup luksDump /dev/sd3
All the Best,
Andy, MBA Technology Management, Bachelor’s Computer Systems Engineering
Mountain Computers Inc.
Our #1 utility we created is the GoGreen PC TuneUp™. Plus! our blog called myBlog and VLog shares our knowledge. The Work Order describes our flow. Happy Clients ask and ye shall receive our news. Andy Flagg, our leading technologist; Microsoft retired 1997, a Worldwide Operations Technical Manager, continues to help thousands daily.
© 2020 myBlog™ v1.1 All rights reserved. We count views as reads, so let's not over think it.