Share Your Encrypted Home Folder
Share Your Encrypted Home Folder PDF Print E-mail
Written by Pithyus   
Sunday, 06 February 2011 11:46

Access your encrypted home folder over a local net work using Samba.


WARNING: This is not for beginners. This may not be complete; It may need more packages and/or configuration. Do not continue unless you understand what you are looking at.


1. Applications > Accessories > Terminal
gksudo gedit /etc/samba/smb.conf

2. Edit the following key/value pairs in the [homes] section of /etc/samba/smb.conf:

[homes]
comment = Home Directories
browseable = yes
read only = no
create mask = 0700
directory mask = 0700
valid users = %S


* Don't forget to save.

3. Browse to your home folder on the machine that you wish to share from.

4. Press  ctrl + H to display hidden files.

5. Double click .bashrc, then choose "Display" when prompted.

6. Add the following lines to the end of the .bashrc file:

 

ecryptfs-mount-private
sudo smbd restart
sudo nmdb restart


7. SSH to login and decrypt the files. On the remote computer, open Terminal (Applications > Accessories > Terminal) and enter the following:


ssh 192.168.1.100

* Note:
The IP address listed is for example only. enter the IP address of the computer that is hosting the files to be shared.

 

8. Now open Places > Network and browse for your share.

 

Last Updated on Sunday, 06 February 2011 14:41