Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| lehrkraefte:blc:plg:encryptedhome [2023/02/08 16:17] – Ivo Blöchliger | lehrkraefte:blc:plg:encryptedhome [2023/06/30 07:09] (current) – Ivo Blöchliger | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Verschlüsseltes Home ====== | ||
| + | Ausgangslage: | ||
| + | <code bash> | ||
| + | apt install libpam-mount | ||
| + | cryptsetup -y -v luksFormat /dev/xvdc | ||
| + | cryptsetup luksOpen /dev/xvdc myhome | ||
| + | mkfs.ext4 / | ||
| + | mount / | ||
| + | # Copy already existing user data | ||
| + | cp -varu / | ||
| + | # May be erase existing home | ||
| + | umount /mnt | ||
| + | cryptsetup luksClose myhome | ||
| + | </ | ||
| + | In / | ||
| + | <code txt> | ||
| + | <volume user=" | ||
| + | </ | ||