Questions tagged [ecryptfs]
The ecryptfs tag has no usage guidance.
25
questions
2
votes
0
answers
30
views
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 ...
1
vote
0
answers
282
views
Rsync: Exclude files by maximum filename length (< 143 characters)
A cronjob copies files from a remote server (probably ext4) via rsync to a local encrypted partition (probably eCryptFS on top of ext4).
Now rsync throws errors for filenames that are longer than 143, ...
1
vote
1
answer
193
views
mount.ecryptfs_private in .xsession started by nodm/lightdm complains with "mount: no such file or directory"
I'm trying to decrypt the Private directory inside a user $HOME automatically at system startup. The system is a Debian GNU/Linux 10 (actually a Raspbian, but I assume it's no different to this end) ...
2
votes
0
answers
2k
views
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 ...
3
votes
0
answers
478
views
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 ...
1
vote
0
answers
326
views
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 ...
3
votes
2
answers
3k
views
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
[...
1
vote
0
answers
278
views
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 ...
1
vote
2
answers
1k
views
LUKS/dm-crypt security in the case of a break-in
This is an encryption topic I've been confused by for a while now. From what I understand of LUKS, once the LUKS volume is opened with a passphrase and the resulting device mapper device is mounted, ...
1
vote
0
answers
181
views
Allowing users to mount arbitrary directories
I'm attempting to roll out eCryptFS support for users on our RHEL infrastructure. One large snag has come up.
Given a user with no root access and (preferably) without the use of sudo, how would one ...
0
votes
2
answers
1k
views
Debian encrypted home directory setup fails
Here's the problem:
# ecryptfs-migrate-home -u <user>
INFO: Checking disk space, this may take a few moments. Please be patient.
INFO: Checking for open files in /home/<user>
Enter ...
5
votes
6
answers
9k
views
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 ...
1
vote
2
answers
316
views
Does ecryptfs (perhaps implicitly) checksum data?
I am planning to set up a NAS with ecryptfs used for encryption. I am wondering if ecryptfs will tell me if a file has been silently corrupted (by e.g., a faulty harddrive), or if I would still be ...
1
vote
3
answers
1k
views
crontab cannot find script
I have a cron job that runs under my user once per night. I installed it using crontab -e and a by adding the line:
0 1 * * * /home/username/diskreport.sh
The crontab is set up so that ...
2
votes
0
answers
628
views
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 ...
0
votes
1
answer
693
views
How can I use a temporary file descriptor with ecryptfs?
I'd like to be able to run a script, have it prompt me for my password, and then mount an ecryptfs directory. I do not want the password to sit around on the file system, or show up in logs, ps, etc. ...
3
votes
1
answer
2k
views
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 ...
1
vote
2
answers
911
views
pam_ecryptfs: Error getting passwd (ProFTPD)
proftpd: pam_ecryptfs: Error getting passwd info for user [USERNAME]
I am getting this error in the syslog nearly every time any user connects via FTP, the user is able to connect and the session ...
2
votes
1
answer
2k
views
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 ...
2
votes
1
answer
772
views
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 ...
2
votes
2
answers
626
views
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 ...
3
votes
1
answer
2k
views
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 ...
3
votes
2
answers
2k
views
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 ...
5
votes
3
answers
5k
views
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 ...
1
vote
3
answers
13k
views
Ubuntu: How to decrypt home directory, swap (basically everything) without reinstalling?
I just faced a problem with encrypted home directory in Ubuntu Server 10.04.
While I know a workaround, I want to just to completely remove encryption from everything.
Any hints how to do that ...