How does one change login passphrase (to unlock encrypted home directory)
Hello,
I just installed the testing version of Debian with the option to setup encrypted home directories. I used a passphrase that I now want to change to something else. How do I do that? |
Quote:
|
passphrase for mouting / (root) directory
The passphrase is different from my password.
I miss informed in my earlier post (it was late for me) it is not only the home directory that is protected by the passphrase but the root '/' directory. Booting the machine stops for me to type in the passphrase. This is good and is what I want ... but now I realize that my passphrase could be guessed a lot easier than I thought ... so i want to change it. |
Assuming Debian uses cryptsetup for this, you can use cryptsetup luksAddKey and cryptsetup luksRemoveKey. See man cryptsetup.
|
cryptsetup luksAddKey / luksRemoveKey
Thanks ... that helped me get the crappy passphrase changed.
The process was to add the new passphrase, test it, remove the old passphrase: Code:
cryptsetup luksAddKey /dev/sda5 Code:
cryptsetup luksRemoveKey /dev/sda5 Thanks for your help |
All times are GMT -5. The time now is 06:20 AM. |