summaryrefslogtreecommitdiffstats
path: root/howtos
diff options
context:
space:
mode:
authoryves <steve.harrison@gmx.net>2012-07-26 15:40:15 +0200
committeryves <steve.harrison@gmx.net>2012-07-26 15:40:55 +0200
commit0d55a2bf08c86fcb359d1b2e8a141eeac298a658 (patch)
treec02193a9e8cb351b97b7a0b4ea0bbe40d3c74d21 /howtos
parent5b0080abf61822c71fbcfaccaf5bac808f387ade (diff)
downloadwww-0d55a2bf08c86fcb359d1b2e8a141eeac298a658.tar.gz
www-0d55a2bf08c86fcb359d1b2e8a141eeac298a658.tar.bz2
www-0d55a2bf08c86fcb359d1b2e8a141eeac298a658.zip
port change ubuntu pass phrase from old wiki
Diffstat (limited to 'howtos')
-rw-r--r--howtos/changeUbuntuPassphrase.html72
1 files changed, 72 insertions, 0 deletions
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 %}
+<h2>Change </h2>
+
+{% 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 <http://www.saout.de/tikiwiki/tiki-index.php?page=EncryptedDeviceUsingLUKS>`_
+* `UKS - Linux Unified Key Setup <http://luks.endorphin.org/>`_
+
+
+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 %}