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 [2020/09/08 08:08] – [Pakete] ingo_wichmann | lpi2:cryptsetup-luks [2026/10/05 08:24] (aktuell) – [Neues Passwort hinzufügen] ingo_wichmann | ||
|---|---|---|---|
| Zeile 5: | Zeile 5: | ||
| '' | '' | ||
| - | Debian 10: '' | + | Debian |
| ==== Kernel-Modul ==== | ==== Kernel-Modul ==== | ||
| Zeile 28: | 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 37: | Zeile 37: | ||
| ==== Partition öffnen ==== | ==== Partition öffnen ==== | ||
| - | cryptsetup open --type | + | cryptsetup open --type |
| === Testen === | === Testen === | ||
| Zeile 57: | 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 68: | 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.1599552523.txt.gz · Zuletzt geändert: 2020/09/08 08:08 von ingo_wichmann
