Creating encrypted home directories
It is good to have the content on your laptop encrypted - especially on a laptop which is at a much higher risk of being stolen or lost.
I followed this guide, which was really easy. It takes below an hour to setup if you do NOT know how to do it but have some basic linux skills.
If you have done it before, it just takes a few minutes.
The steps are (under debian) (Later edit: also works fine under ubuntu!)
Your username is $USER
- install fuse
- install encfs
- add module fuse to be loaded at startup, echo "fuse" >>/etc/modules
- add a user to be allowed to use fuse: adduser $USER fuse
- follow the guide on this blog, with the addition to change the ownership of /home/.enc/$USER/.encfs5
- done! check that it works by logging in and then type mount. It should display your home directory mounted as encfs.
- create a user which is used only for login via ssh:
(sudo if on ubuntu) adduser ssh$USER - login with: ssh ssh$USER@yourlaptop
- swith to your regular account with su - $USER
Inga kommentarer:
Skicka en kommentar