chmod 600 /var.img
This commit is contained in:
parent
ad9694020c
commit
e75d7e19e5
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@ Notes...
|
||||||
|
|
||||||
```
|
```
|
||||||
# dd if=/dev/zero of=/var.img bs=1M count=36000
|
# dd if=/dev/zero of=/var.img bs=1M count=36000
|
||||||
|
# chmod 600 /var.img
|
||||||
# losetup /dev/loop0 /var.img
|
# losetup /dev/loop0 /var.img
|
||||||
# cryptsetup luksFormat --hash sha256 --key-size=512 /dev/loop0
|
# cryptsetup luksFormat --hash sha256 --key-size=512 /dev/loop0
|
||||||
# cryptsetup luksOpen /dev/loop0 crypted-var
|
# cryptsetup luksOpen /dev/loop0 crypted-var
|
||||||
|
|
Loading…
Reference in a new issue