You are not logged in.

#1 2012-06-24 19:49:36

check
Member
From: Germany
Registered: 2011-08-26
Posts: 30

[solved] Encrypted Home

I played two hours two day i think to get a encrypted home ;D

So that's what i got before:
I saw an article to encryptfs in the wiki which was linked to http://sysphere.org/~anrxc/j/articles/e … index.html,
a very helpfull guide, but when i added the /etc/mtab line to /etc/fstab and rebooted the system always hang up at mounting the stuff, what did i made wrong?

I have an Lightdm Setup, created today,
How could I get an encrypted Home which would be mounted, when I log in? Or when the System Boots up? I got it mounted manually, but not automatically

Another thing I saw in a Ubuntu wiki was

adduser --encrypt-home <User>

So, would be very cool If someone could help me guys, and remember you rocks.

Last edited by check (2012-06-25 19:26:57)

Offline

#2 2012-06-24 21:15:14

rwd
Member
Registered: 2009-02-08
Posts: 664

Re: [solved] Encrypted Home

Hello Check. I have no experience with ecryptfs but if you want useful responses be as specific as possible:

- which steps did you take
- post configuration files you changed
- exact error messages you get
- error logs

I suggest reading https://wiki.archlinux.org/index.php/Sy … h_eCryptfs again, slowly, and check that you did all necessary steps, and did not make a typo somewhere.

Last edited by rwd (2012-06-24 21:24:51)

Offline

#3 2012-06-25 00:21:34

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: [solved] Encrypted Home

a very helpfull guide, but when i added the /etc/mtab line to /etc/fstab and rebooted the system always hang up at mounting the stuff, what did i made wrong?

I wrote replicate it, not just copy/paste, and then I added an example. One key option is noauto so system doesn't attempt to mount it early in the boot, there is nothing in the kernel keyring at that time.

How could I get an encrypted Home which would be mounted, when I log in? Or when the System Boots up? I got it mounted manually, but not automatically

It's the same way as any other login manager. You have to come up with your own solution. Be it pam_mount, be it your shell initialization which does it, be it the login manager it self through some functionality which allows executing commands after a succesful login.


You need to install an RTFM interface.

Offline

#4 2012-06-25 12:27:46

check
Member
From: Germany
Registered: 2011-08-26
Posts: 30

Re: [solved] Encrypted Home

@anrxc: does that mean, that i could add this to my gnome-session-properties?

Offline

#5 2012-06-25 18:37:42

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: [solved] Encrypted Home

No, there won't be any .gnome or .config/gnome/ (I don't know where it keeps files) at the time GNOME starts. You need to do it first thing after a login, with lightdm, with pam or with the shell.


Edit:
Here, some people that used pam like in ubuntu https://bbs.archlinux.org/viewtopic.php?id=140467

Last edited by anrxc (2012-06-25 18:38:47)


You need to install an RTFM interface.

Offline

#6 2012-06-25 19:28:02

check
Member
From: Germany
Registered: 2011-08-26
Posts: 30

Re: [solved] Encrypted Home

@anrxc: i think that should work ;D big_smile
Thx

Last edited by check (2012-06-25 19:28:17)

Offline

Board footer

Powered by FluxBB