eCryptfs is a POSIX-compliant enterprise-class stacked cryptographic filesystem for Linux. Ubuntu's encrypted home directory feature uses this technology.

learn more… | top users | synonyms

9
votes
1answer
3k views

Recover encrypted data after reinstall

I couldn't remember the password that I've used for so many weeks, and changed it in recovery mode but for many reasons I decided to reinstall Ubuntu 12.10 with my seperate /home folder intact and ...
0
votes
1answer
152 views

How to get encrypted home mounted automatically after crash?

Just few days after reinstalling ubuntu (see How to unencrypt encrypted home directory?) I found my pc showing weird error messages in console (something about read/write access). I rebooted it, ...
0
votes
1answer
378 views

How do I get and keep access to encrypted home dir on an external drive?

I have a clean new install of 12.04 on my internal drive. On my external drive I have everything that used to be on this drive. The file I'm concerned with right now is my old home folder from ...
3
votes
1answer
689 views

How to prevent ecryptfs from umounting home if tmux is still running?

I have a server, which i access over ssh. Sometimes i like to run some scripts (some of them in the background) in tmux and then detach it, close the connection and access tmux later. But ...
11
votes
2answers
11k views

How do I mount an encrypted /home directory on another Ubuntu machine?

I've done something a bit, well, strange. I installed Ubuntu 12.04 directly onto a USB thumb stick, encrypting the /home directory as given the option during the install. The filesystem is btrfs, I ...
14
votes
2answers
590 views

How do I require Two Factor Authentication to log in?

Running 12.04. I am trying to separate my wrapped-passphrase for my encrypted home folder to require a USB drive be present to login. I followed the instructions here and added the drive to my ...
2
votes
1answer
526 views

does eCryptfs support multiple users?

I'm new to ecryptfs and I need some clarification on how it works. Suppose there are two root users userA and userB, If I mount some folder under userA: [userA@Dev] $ mount ecryptfs real img now I can ...
0
votes
1answer
851 views

/dev/sda2 contains a filesystem with error after partitioning (updated)

I just wanted to create a separate home partition on my Ubuntu 12.10 system. I booted the liveDVD, resized the sda2 partition (28gb of data resized to 30gb based on MiB [originally on a 100gb ...
0
votes
2answers
1k views

eCryptfs problems after inapproriate shut down - unable to access my /home folder?

Here is what happened to me a few days ago. I was watching a movie in bed and when I turned I accidently pulled the electric plug from my PC and it turned off inappropriately. When I turned it back ...
1
vote
1answer
2k views

How to lock and encrypt folder and files

I installed cryptkeeper in my laptop and when I click on the icon, it is not opening up or responding. I'm using Ubuntu 12.10 64-bit version. Please help me on how to use this software or tell me how ...
1
vote
2answers
2k views

ecryptfs-recover-private creating unreadable encrypted folders

After months of proper functioning has ecryptfs has become corrupted and rendered /home/ inaccessible. when running (both via guest account and from live-CD): root@ubuntu:/media/backup/home/me# ...
1
vote
1answer
725 views

12.10 login-screen loop error accessing ecryptfs home drive [closed]

I'm running 12.10 64 bit on a Dell E5410 Latitude. Everything was working nicely until I tried to install Avast antivirus program. This froze my system and I proceeded to remove --purge the program. ...
1
vote
0answers
60 views

Security aspects of home dir encryption [duplicate]

Possible Duplicate: Is there a security risk if a password can be reset easily? Changing the login password will automatically make an encrypted home directory re-accessible, as PAM takes ...
1
vote
0answers
53 views

.bashrc not run when SSH-ing in as a user who has home dir encryption [duplicate]

If I SSH into an Ubuntu 12.04.1 LTS server as a user with home dir encryption, I get a really plain shell (no default .bashrc run). If I log in via console (of course causing the home directory to be ...
2
votes
2answers
3k views

Encrypted home with Ecryptfs - How to store the key file if i missed it on first boot?

I installed Ubuntu 12.04 with encrypted Home-directory. When I first booted I was given the option to store a key file to some Flash-drive (USB) or anything and there was a hint how to do it later. I ...
1
vote
0answers
139 views

Full WUBI disk encryption [closed]

A soundcard problem occurred after moving some files in /home to the eCryptfs disk, sure I'd made a like to /home, it doesn't matter, but I still want to encrypt nearly all the Ubuntu system not only ...
1
vote
1answer
299 views

Does eCryptfs use more disk space?

I have encrypted my /home folder using ecryptfs. I've noticed that it uses as 1.5 times the disk space compared to when it was not encrypted. Is this problem caused by the eCryptfs and is there a way ...
5
votes
2answers
3k views

Error when running binary with root setuid under encrypted home directory

I'm using a VPN script for Juniper's Secure Access protocol form here, which executes a binary located under ~/.juniper_networks/network_connect/ncsvc with the following permissions: -rws--s--x 1 ...
5
votes
1answer
387 views

Is it possible to use the 'screen' command to work with files on an encrypted home directory?

So I have an encrypted home directory, set up during install on a server running Ubuntu 12.04 LTS. I attempted to use screen in order to run a script that accesses the data in my home directory after ...
4
votes
2answers
634 views

How can I confirm that I'm using ecryptfs?

Is there a simple way to tell if I'm using ecryptfs on my home directory? I tried running the ecryptfs-migrate-home script a while ago, and it failed part way through. I assumed that it went back to ...
7
votes
1answer
342 views

How to auto-mount a copied encrypted home

How can I auto-mount and use my encrypted home that I copied to another partition on the same hard disk? I'm running Ubuntu 11.10. My encrypted home is on sda1. There I've 2 users: userA and userB. ...
2
votes
1answer
641 views

Reinstalling 12.04 and preserving encrypted /home. Possible?

My /home directory is about 200 GB and encrypted. I need to reinstall Ubuntu 12.04 (fresh install) to fix some problems and and concerned that I might lose access or have to format /home during the ...
0
votes
2answers
426 views

transparent home directory encryption

#1 I'm very new to the ubuntu home directory encryption or rather ecryptfs folder encryption. I read about the same within Dustin's blog & tried implementing it. Problem or query is my home ...
2
votes
1answer
248 views

Merge LUKS-partition with partition on another HDD

I just bought a 2 TB hard disk because the home partition on the old one is almost full. What I want to do is to extend the home partition on hard disk 1 (sda2) to also include all the space on the ...
0
votes
2answers
490 views

Ubuntu 12.04 flush-encryptfs resource hog

I've been using Ubuntu 11.10 for a while, but recently upgraded to a fresh install of 12.04 LTS. I am noticing a program called flush-encryptfs- using a significant portion (30 to 80%) cpu resources. ...
2
votes
1answer
826 views

Moving an encrypted home folder to a new drive

Is there something I should be taking in to account when moving an encrypted home directory to a new drive? Is it just enough to rsync the contents away, edit fstab etc?
4
votes
3answers
584 views

How to safely back up the “Private” folder?

I have an ecryptfs "Private" folder in my home directory, and it is set up to automatically mount whenever I log in. I want to set up automatic backups to a network drive, but I don't want the ...
0
votes
2answers
779 views

How to recover encrypted home data with Live CD?

Last night I closed my computer and when I try to login to my account I get rejected even though my password is correct. I tried to reset the PW but nothing so in second place I try to recover my ...
2
votes
1answer
174 views

Is /home/userdir or entire /home directory encrypted when selecting encryption during installation?

my question: When selecting encryption during the installation of Ubuntu 12.04: Is everything in /home encrypted or just the home-directory of the user who did the installation? Specifically, I ...
0
votes
1answer
315 views

How do I encrypt a user's home folder having no password?

The problem I have is that I use eCryptfs to encrypt a user's home folder, but in order to decrypt it the user must have a password. However, after I encrypt the home folder, I would love to change ...
4
votes
2answers
1k views

How to resize an ext4 encrypted home partition?

Which is the best way in order to resize an encrypted (ecryptfs) ext4 home partition ? Pros nad Cons of each method are greatly appreciated. $ fdisk -l Disk /dev/sda: 256.1 GB, 256060514304 bytes ...
0
votes
1answer
1k views

Why is ecryptfs only mounting private home directory over ssh?

The title says it all; my 12.04 server box will only decrypt and mount my home directory if I log in over SSH. Last night I needed some data off my server but I had left my laptop with my private keys ...
1
vote
1answer
2k views

How can I mount my Dropbox folder as the Documents folder on my encrypted home folder after startup?

What I am trying to do is bind: /home/username/Dropbox/Documents to /home/username/Documents on startup. On another computer running Ubuntu 12.04 I did this by placing the following line in ...
1
vote
2answers
288 views

How to backup encrypted home in encrypted form only?

I want to backup the encrypted home of a user who might be logged in at backup time. Which directories should I backup if I want to ensure that absolutely no plaintext data can be leaked? Are the ...
1
vote
1answer
97 views

How to use encypted home directory after reinstallation

I reinstalled Ubuntu on a machine with encrypted home directories. After that installation I have edited the fstab to boot the old home partition in /home. After doing so I can not login anymore with ...
1
vote
1answer
193 views

How to recover bad encrypted directory

I had a problem while formatting Ubuntu. I tried to reinstall without formatting the home directory and with the same username. The home directory of the new installation was set to be encrypted. ...
2
votes
1answer
733 views

Restore Encrypted /home partition

I need to recover my lost data. Tonight I reinstalled ubuntu without formatting /home, thinking that ubuntu was enought smart to install itself without wiping the previous data in directory like ...
2
votes
3answers
1k views

ecryptfs and ssh pubkey login - How automount and other stuff?

I have moved my ssh authorized_keys to an /etc/ssh/ subfolder, so I can login with pubkeys and have root in control of ssh access, but there are 2 problems left. It does not automount my users ...
1
vote
1answer
204 views

How does ecrypt handles symlinks to unencrypted files?

I have a encrypted home directory, and I have some large files (VMs) that I store outside of my home directory in /opt/jrg-stuff/VMs. How would ecryptfs handle a symlink to those files? Will it ...
5
votes
1answer
1k views

SSH remote user need to be logged in?

I'm trying to set up an SSH server. I put my public key in the authorized_keys file, made sure the permissions were correct, etc. When I restart the server (really just Ubuntu 12.04 desktop) and I ...
4
votes
2answers
577 views

What is the difference betwen creating a Private encryped folder and encrypting the whole Home directory at the time of Installation?

Which method is more preferable in which situation ? Which process poses less stress over the cpu ?
2
votes
1answer
1k views

How can I recover encrypted data from a previous Ubuntu installation?

I tried to upgrade from 10.10 to 11.04 but it crashed. It couldn't mount disk drives so I did a new installation without erasing the previous drives. Now I can't access access-your-private-data.
3
votes
1answer
718 views

Are all of the backup files & folders of encrypted /home folder also encrypted on the backup HDD?

In the past I routinely backed up my entire unencrypted /home folder with LuckyBackup (gui for Rsync) to an external HDD. I've had no problems seeing and manipulating the backed up data when accessing ...
3
votes
1answer
1k views

What are ECRYPTFS_FNEK_ENCRYPTED files and folders for?

I've moved my home folder from an old to a new computer using this HowTo. The old machine was running Xubuntu 11.10 the new is running Ubuntu 12.04 64bit. On both machines the users where created ...
4
votes
1answer
628 views

Why is ecryptfs so slow when running du -s?

I have been using Ubuntu's encrypted home folder system for some time now and have not really noticed any slowdowns except in two specific cases. When I run du -s in my home folder, it takes several ...
2
votes
1answer
1k views

How can I automount my ecryptfs ~/.private directory without logging in?

On Ubuntu Server 12.04 LTS, ecryptfs is set up where my /home/user/.private directory becomes decrypted when I login. I can then access my files in /home/user/private. But if I don't login to the ...
5
votes
2answers
2k views

Can ecryptfs-setup-private be made to use a 256 bit AES key (instead of the default 128 bit key length)?

ecryptfs-setup-private will by default use an AES 128 bit key. Can I make it use a 256 bit key (32 bytes key length)? Of course, I could do the whole process manually as described here: ...
4
votes
1answer
390 views

Prevent users from encrypting their home folders

How can I prevent users from encrypting their home folder on a server inside our company without removing the respective packages? Are there any policies I can enable to prevent this? Edit: the ...
0
votes
1answer
746 views

Making the old encrypted /home partition (10.10) available to new install (12.04)

I installed Ubuntu 12.04 on a fresh partition and my old Ubuntu 10.10 has my home directory encrypted. I was wondering if I can mount this home directory as /home/myoldhome in to new install whenever ...
13
votes
3answers
10k views

How can I completely remove ecryptfs from my system and delete .Private?

Few days back I have installed ecryptfs, created a private directory using it. Now my Ubuntu login became super slow. I have tried removing ecryptfs from Synaptic. I found It, it can not be deleted ...