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

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
137 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
285 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
359 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
567 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
340 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
601 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
423 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
232 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
486 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
777 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
552 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
712 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
171 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
309 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
278 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
93 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
184 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
714 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 ...
1
vote
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
189 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
570 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
703 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
991 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
607 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 ...
4
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
388 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
739 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 ...
9
votes
1answer
331 views

Where are decrypted files stored during runtime?

I wonder where does Ubuntu/eCryptfs store decrypted files from encrypted $HOME directory during runtime. Does it decrypt files just-in-time and store them only in RAM? What about large files (e.g. ...
2
votes
1answer
621 views

Accidently deletetd .ecryptfs folder - cant log in anympre

I accidently deleted the .ecryptfs folder, also the .private folder. Cant login anymore. Just as guest. How can I restore to the system before I deletetd those fodlers?
4
votes
1answer
2k views

How do I move my encrypted /home to a new computer?

Hi I have a new notebook and I want to move my home data to the new computer. I think there are multiple ways of doing this copy all to a external hdd and move back on new computer do an Deja-Dup ...
4
votes
1answer
7k views

Disks constantly spinning no matter what I do (jbd2). I'm on the brink of insanity

My disks have been spinning for months. It started with Ubuntu 11.10, and continues with 12.04. I can't figure out how to stop it. I've looked at various folks suggestions online about ext4 commit ...
3
votes
0answers
468 views

ecryptfs-setup-private login passphrase incorrect

I'm trying to access my former home folder. When I run ecryptfs-setup-private, I am asked for my login passphrase which returns ERROR: Your login passphrase is incorrect. I have tried both, my ...
9
votes
1answer
5k views

Encrypted Home… Forgotten Password, but no Passphrase

I am using a cloned hard drive in attempts to restore some old files. The cloned drive has 2 users, one with an encrypted home drive, one without. Both are administrators. When I couldn't get into ...
2
votes
1answer
184 views

“AND Operator” in PAM

I need to prevent users from authenticating through Kerberos when the encrypted /home/users has not yet been mounted. (This is to avoid corrupting the ecryptfs mountpoint) Currently I have these ...
3
votes
2answers
439 views

Can find any /.ecryptfs dir to retrieve my encrypted home dir

I've read some questions similar, but not the exactly the same problem... I've moved my home directory to a separated partitión (Ubuntu 11.10) following this tutorial. After confirming all my files ...
4
votes
3answers
6k views

Encrypted Home directory not auto mounting

I somehow managed to break auto-mounting for my encrypted home directory. Every time I login via SSH, I see this: valorin@joshua:~$ ls -la total 44 dr-x------ 3 valorin valorin 4096 2012-03-17 ...
5
votes
2answers
1k views

Recovering data from Private in an ecryptfs backup when the new home is also encrypted

I have a backup of /home from my old system on an external drive. The ~ on my new system has full home encryption from ecryptfs. I want to decrypt the Private on the old home and copy its ...
2
votes
1answer
245 views

Obtain passphrase programatically before intial login with ecryptfs?

We are learning about/experimenting with eCryptfs (Ubuntu Server 10.04). We are trying to set up users on our server programmatically using a bash script which we can do, including encrypting their ...
3
votes
1answer
1k views

Enable ecryptfs for all new users, even those authenticating through kerberos and ldap

How do I make sure that all users have their home directory encrypted when the login for the first time? I have setup pam to use Kerberos authentication and LDAP authorization (which I think should ...
3
votes
1answer
2k views

Why can't I use an OpenSSL key pair with ecryptfs?

According to documentation, I simply create a public/private keypair for ecryptfs using ecryptfs-manager. But there is nothing to select. $ sudo ecryptfs-manager eCryptfs key management menu ...