Questions tagged [ecryptfs]
26 questions
5
votes
6 answers
SSH public key login fails without pattern
(previously posted at stackoverflow by error)
I'm running a bunch of servers with Ubuntu 14.04.1 (sun,hyperion,...) all of which use public keys (OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 on all machines) for rsync without problems. Almost all...
One…

St. Hermes
- 81
- 1
- 7
5
votes
3 answers
Backup strategy for eCryptfs
We have a small network with a Ubuntu server in the middle and Ubuntu notebooks around. The notebooks all use eCryptfs to encrypt the whole home directory of users. Usually, there are two or more users per notebook. The backup procedure stays inside…

Boldewyn
- 239
- 4
- 13
3
votes
0 answers
syslog spammed with authdaemond: pam_ecryptfs: pam_sm_authenticate: /home/user is already mounted
I setup my new server with harddisk-encryption and now I noticed that /var/log/syslog is full of the following lines:
server authdaemond: pam_ecryptfs: pam_sm_authenticate: /home/user is already mounted
Should I be worried? How can I fix this / get…

mercury
- 41
- 3
3
votes
2 answers
eCryptfs headers errors
I'm getting the following error on a server where a partition is encrypted thru ecryptfs.
[3440851.003561] Valid eCryptfs headers not found in file header region or xattr region, inode 22545087
[3440830.026081] Valid eCryptfs headers not found in…

ohe
- 145
- 1
- 7
3
votes
1 answer
eCryptfs on ubuntu server : How to keep the home mounted without being over ssh?
I have a daemon program who need to read in a file who is saved somewhere in my home folder.
But every time I close my ssh connection, this daemon can't read the file because it appear that eCryptfs unmount the home.
Maybe there is an option to…

Bebeoix
- 133
- 3
3
votes
1 answer
how to automatically mount ~/Private using ecryptfs when logging in via ssh pubkey
Raionale: I want to be able to automatically make backups to a remote machine, which will be encrypted with ecryptfs.
The title says it all:
I set up ecryptfs-utils on my Debian Squeeze box, and set up one user to use it via ecryptfs-setup-private.…

andreas-h
- 1,114
- 1
- 17
- 28
3
votes
2 answers
Using ecryptfs encrypted home directories with Dovecot
I have setup home directory encryption on Ubuntu 10.04 machine, but ecryptfs does not seem to be able to work with Dovecot (or CourierIMAP, etc).
After successful IMAP login, home directory is never mounted, and Dovecot obviously can not find mail…

sentinel
- 31
- 2
2
votes
0 answers
Get ecryptfs to work on centos7
How can I use ecryptfs on REHL/CentOS 7.4?
ecryptfs is not enabled by default in Centos7 kernel config. When I enable and build the kernel, I can mount a lower ecryptfs directory into an upper directory, but get a kernel panic when doing "ls" on the…

Eric
- 121
- 6
2
votes
0 answers
Can't mount ecrytpfs as a non-root user on Red Hat
I'm trying to mount a ecryptfs volume on Red Hat as a regular user. ecryptfs-utils is installed from source (repos only contain old versions). Mounting as root works normally, but trying with a regular user (who owns the mount) results in a mount:…

ddario
- 511
- 1
- 3
- 12
2
votes
1 answer
encryptfs auto-mounting script
I'm trying to make a script, that creates and mounts encrypted directory using ecryptfs(on ssh logons(with passphrase sent via pipe) and by some other scripts). I know about ecryptfs-setup-private already.
What I'm trying to do:
#!/bin/bash
mkdir 1…

scriptaholic
- 23
- 4
2
votes
1 answer
Enable ACL for eCryptFS mounted home directory
I am running Ubuntu 11.04 with the "encrypt home directory" feature. This uses eCryptFS to encrypt and mount my home directory. Now I need to enable ACL for this mount but since it's not configured in /etc/fstab I don't know how to do…

Tobias Sjösten
- 145
- 4
2
votes
2 answers
Is it safe to alter the underlying encrypted files for a live mounted ecryptfs volume?
I want to do live synchronization of an encrypted directory with a server, such that the server only sees encrypted data.
Suppose I put the underlying ecryptfs data in:
/home/user/.Private
And I mount that directory at:
/home/user/unlocked
Can I…

user67641
- 1,292
- 2
- 14
- 18
2
votes
0 answers
Issue with Volume Mounting after Server Restart
Originally on bkp-01 instance. The server and disk have manually been set to a different availability zone. The disk are running zfs for backups/snapshots. It's an old server with a manual Raid system.
Now if we check :
root@bkp-01:~# cat…

santosh baruah
- 39
- 1
- 5
1
vote
0 answers
Test password on ecryptfs
We need to reboot a server that has a ecryptfs mount point on it, the problem is that we lost the password, and found one that might be it. We want to try it before we reboot so we have a chance to migrate the data in case it's wrong.

Jocke
- 11
- 1
1
vote
0 answers
How to properly automount tmpfs inside encrypted home folder on login?
I have a user with encrypted home folder which is automounted on login with pam_ecryptfs module. I would also like to have several folders automounted as tmpfs using local configuration file from luserconf entry, but it seems that…

dannote
- 11
- 1
- 2