From 0d55a2bf08c86fcb359d1b2e8a141eeac298a658 Mon Sep 17 00:00:00 2001 From: yves Date: Thu, 26 Jul 2012 15:40:15 +0200 Subject: port change ubuntu pass phrase from old wiki --- howtos/changeUbuntuPassphrase.html | 72 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 howtos/changeUbuntuPassphrase.html (limited to 'howtos') diff --git a/howtos/changeUbuntuPassphrase.html b/howtos/changeUbuntuPassphrase.html new file mode 100644 index 0000000..c9b946b --- /dev/null +++ b/howtos/changeUbuntuPassphrase.html @@ -0,0 +1,72 @@ +{% meta %} + title: Change Ubunut Passphrase +{% endmeta %} + +{% block content %} +

Change

+ +{% filter rst %} + +About +===== + +This is a short howto on changing the harddrive passphrase on your ubuntu system. + + +It was successfully tested on +* Ubuntu Gutsy + +Where is your encrypted partition? +================================== + +* Have a look into '/dev/mapper/'. There should be an entry called '..._crypt', usually its 'sda5_crypt'. +* Whenever I use "sda5" later on, replace it by whatever '..._crypt' says in your setup. + +Changing the passphrase +======================= + +* You can't change the passphrase directly, add another passphrase and remove the old one. +* Passphrases are stored in "slots". So your first password is in "slot 0", the second will be in "slot 1" and so on. +* Be sure *never* to delete your *last passphrase*, or your data will be inaccessible forever. + +Adding an additional passphrase +=============================== + +* Open a 'terminal', and type: + +:: + + cryptsetup luksAddKey /dev/sda5 + +* enter the current passphrase +* enter the new/additional passphrase + +Removing a passphrase +===================== + + *Warning:* Do NOT delete the last available passphrase, or your data will be lost forever! + +* To delete the first passphrase (BE SURE THERE IS A SECOND ONE! TEST THE SECOND PASSPHRASE BEFORE DELETING THE FIRST!): + cryptsetup luksDelKey /dev/sda5 0 + +* To delete the passphrase in the second slot (BE SURE THERE IS STILL ANOTHER PASSPHRASE PRESENT!): + cryptsetup luksDelKey /dev/sda5 1 + + +Links +===== + +* `dm-crypt wiki: Encrypted Devices Using LUKS `_ +* `UKS - Linux Unified Key Setup `_ + + +errors / ideas / contact +======================== + +* This page is not available for public editing. +* If you find an error, or want to make any contribution to this page, please contact us. + + + +{% endfilter %} +{% endblock %} -- cgit v1.2.3-1-g7c22