chmod 600 /var.img

This commit is contained in:
benoit 2017-02-23 23:40:22 +01:00
parent ad9694020c
commit e75d7e19e5

View file

@ -2,6 +2,7 @@ Notes...
```
# dd if=/dev/zero of=/var.img bs=1M count=36000
# chmod 600 /var.img
# losetup /dev/loop0 /var.img
# cryptsetup luksFormat --hash sha256 --key-size=512 /dev/loop0
# cryptsetup luksOpen /dev/loop0 crypted-var