From: Silvio Rhatto Date: Tue, 9 Jul 2013 20:40:51 +0000 (-0300) Subject: Overwrite Private.mnt on ecryptfs-home X-Git-Tag: 0.1~8 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=4dbc4294a0bc9b963bc79e4d5da08a26788f8adc;p=hydra.git Overwrite Private.mnt on ecryptfs-home --- diff --git a/share/hydractl/ecryptfs-home b/share/hydractl/ecryptfs-home index eb1db24..4f5de7b 100755 --- a/share/hydractl/ecryptfs-home +++ b/share/hydractl/ecryptfs-home @@ -81,7 +81,7 @@ rm -rf /mnt/crypt/home/$USER $sudo mkdir -p /mnt/crypt/home $sudo mv /home/$USER /mnt/crypt/home/$USER $sudo ln -s /mnt/crypt/home/$USER /home/$USER -echo "/mnt/crypt/home/$USER" | $sudo tee -a /home/.ecryptfs/$USER/.ecryptfs/Private.mnt +echo "/mnt/crypt/home/$USER" | $sudo tee /home/.ecryptfs/$USER/.ecryptfs/Private.mnt # Unwrap the passphrase once so the user can save it echo "Please save the unwrapped passphrase in a safe place:"