Anyone know how I can change the harddisk password once it’s set through reform-setup-encrypted-disk?
sudo cryptsetup luksChangeKey /dev/nvme0n1
This will:
- ask you for your sudo password
- ask you for your old luks password
- ask you for the new luks password
Make sure that there is no power failure in the middle of this operation!
I successfully verified that this does the right thing.
1 Like
Also note: there’s a luksAddKey which allows you to add multiple passphrases. Convenient to handle common typos and sharing a computer with somebody.
2 Likes
This did the trick! thank you