aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-06-13 17:55:36 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-06-13 17:55:36 -0300
commit1ab9ae3fd4d14828fb40006ab162c1206037633d (patch)
tree1416e29cc11963a836437849c41edf83e9e23389
parent5dee658b6c7465371d1cc789e525102579f5398f (diff)
downloadpadrao-1ab9ae3fd4d14828fb40006ab162c1206037633d.tar.gz
padrao-1ab9ae3fd4d14828fb40006ab162c1206037633d.tar.bz2
Comando para ativacao da swap cifrada
-rw-r--r--swap.mdwn1
1 files changed, 1 insertions, 0 deletions
diff --git a/swap.mdwn b/swap.mdwn
index 7fb9250..495d7c6 100644
--- a/swap.mdwn
+++ b/swap.mdwn
@@ -17,6 +17,7 @@ Considerando que você esteja com o pacote `cryptsetup` instalado, proceda da seg
swapoff -a
cryptsetup -h sha256 -c aes-cbc-essiv:sha256 -s 256 create cswap /dev/SUA_SWAP
mkswap -f /dev/mapper/cswap
+ swapon /dev/mapper/cswap
Adicione a seguinte entrada no seu `/etc/crypttab`: