lpi2:cryptsetup-luks
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
| lpi2:cryptsetup-luks [2018/12/02 08:08] – ingo_wichmann | lpi2:cryptsetup-luks [2026/10/05 08:24] (aktuell) – [Neues Passwort hinzufügen] ingo_wichmann | ||
|---|---|---|---|
| Zeile 4: | Zeile 4: | ||
| ==== Pakete ==== | ==== Pakete ==== | ||
| '' | '' | ||
| + | |||
| + | Debian (ab 10): '' | ||
| ==== Kernel-Modul ==== | ==== Kernel-Modul ==== | ||
| - | modinfo | + | modinfo |
| muss vorhanden sein | muss vorhanden sein | ||
| Zeile 26: | Zeile 28: | ||
| ==== Partition verschlüsseln ==== | ==== Partition verschlüsseln ==== | ||
| - | cryptsetup --verbose luksFormat / | + | cryptsetup --verbose luksFormat |
| (( | (( | ||
| Ausgabe genau lesen: da steht " | Ausgabe genau lesen: da steht " | ||
| Zeile 35: | Zeile 37: | ||
| ==== Partition öffnen ==== | ==== Partition öffnen ==== | ||
| - | cryptsetup open --type | + | cryptsetup open --type |
| === Testen === | === Testen === | ||
| Zeile 55: | Zeile 57: | ||
| ==== Rebootfest machen ==== | ==== Rebootfest machen ==== | ||
| umount /mnt/crypt | umount /mnt/crypt | ||
| - | cryptsetup close crypt | + | cryptsetup close crypt none |
| <file txt / | <file txt / | ||
| - | crypt / | + | crypt / |
| </ | </ | ||
| + | === testen === | ||
| + | TODO: ist das debian-spezifisch? | ||
| + | |||
| + | cryptdisks_start crypt | ||
| ===== Neues Passwort hinzufügen ===== | ===== Neues Passwort hinzufügen ===== | ||
| cryptsetup luksAddKey / | cryptsetup luksAddKey / | ||
| Zeile 66: | Zeile 72: | ||
| cryptsetup luksDump / | cryptsetup luksDump / | ||
| - | ====== cryptsetup (ohne luks) ====== | + | Bei Bedarf altes Passwort entfernen: |
| - | //obsolet: heute benutzt man luks// | + | cryptsetup |
| - | ===== Pakete ===== | + | -> altes Passwort eingeben |
| - | '' | + | |
| - | + | ||
| - | Partition oder logical volume anlegen: | + | |
| - | lvcreate --size 1G --name lv_cryptsetup vg_centos6 | + | |
| - | + | ||
| - | Partition verschlüsseln: | + | |
| - | cryptsetup | + | |
| - | + | ||
| - | Neues Device anzeigen: | + | |
| - | dmsetup ls | + | |
| - | ====== dmsetup ====== | + | |
| - | dmsetup ls | + | |
| - | dmsetup rm / | + | |
| ====== Links ====== | ====== Links ====== | ||
| * http:// | * http:// | ||
| + | * https:// | ||
| + | * https:// | ||
lpi2/cryptsetup-luks.1543738126.txt.gz · Zuletzt geändert: 2018/12/02 08:08 von ingo_wichmann
