You are not logged in.

#1 2013-05-12 19:00:56

infoslaw
Member
From: UK, Belfast
Registered: 2013-05-06
Posts: 104

[SOLVED] how to easy encrypt HOME\USER folder?

Hi Amigos!

Can somone give me easy step by step guide how to easy encrypt home directory in Linux Arch please?

I spent all day to try encrypt home directory (how I did it before in Debian) I used encyptfs-migrate-home -u [myusername] but after all encyption finished I'm unable to login to KDE to complete encyptfs-unwrap-passphrase script. I got error when KDE runing from xserver: call to lnusertemp failed (temporary directories full?)

Realy approciate your help.
Sławek

Last edited by infoslaw (2016-06-24 13:02:56)

Offline

#2 2013-05-12 19:06:33

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 13,444

Re: [SOLVED] how to easy encrypt HOME\USER folder?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
You assume people are rational and influenced by evidence.  You must not work with the public much. -- Trilby
----
How to Ask Questions the Smart Way

Offline

#3 2013-05-12 19:59:26

mellowmaroon
Member
Registered: 2012-04-20
Posts: 68

Re: [SOLVED] how to easy encrypt HOME\USER folder?

Here are some links to Arch Linux's great documentation:

I found those two to be immensely helpful in learning about encryption on Arch Linux.

Although it looks like you might actually want this (ECryptfs ArchWiki).  I use the dm-crypt/LUKS method, but the ArchWiki for ECryptfs looks like it has a good amount of info.

Just as a heads up, be sure to search the ArchWiki thoroughly and look up what you're trying to do in general (encryption) first when you're trying to solve a problem.  The ArchWiki is very detailed and helpful.

Offline

#4 2013-05-12 22:19:26

infoslaw
Member
From: UK, Belfast
Registered: 2013-05-06
Posts: 104

Re: [SOLVED] how to easy encrypt HOME\USER folder?


unfortunately it is not easy way

Offline

#5 2013-05-12 22:23:01

infoslaw
Member
From: UK, Belfast
Registered: 2013-05-06
Posts: 104

Re: [SOLVED] how to easy encrypt HOME\USER folder?

mellowmaroon wrote:

Here are some links to Arch Linux's great documentation:

I found those two to be immensely helpful in learning about encryption on Arch Linux.

Although it looks like you might actually want this (ECryptfs ArchWiki).  I use the dm-crypt/LUKS method, but the ArchWiki for ECryptfs looks like it has a good amount of info.

Just as a heads up, be sure to search the ArchWiki thoroughly and look up what you're trying to do in general (encryption) first when you're trying to solve a problem.  The ArchWiki is very detailed and helpful.


Thank you! Can I encrypt by use dm-crypt/LUKS method whole particion in few steps? Do you know does posible to clone hdd after full encryption?
Regards,
Sławek

Offline

#6 2013-05-12 22:23:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,433

Re: [SOLVED] how to easy encrypt HOME\USER folder?

I'm not sure I would call running Arch in general to be easy.
Step-by-step guides are frowned upon, although e.g. the wiki tells you what to do and how, don't expect hand-holding here.

Offline

#7 2013-05-12 22:51:24

mellowmaroon
Member
Registered: 2012-04-20
Posts: 68

Re: [SOLVED] how to easy encrypt HOME\USER folder?

infoslaw wrote:

Can I encrypt by use dm-crypt/LUKS method whole particion in few steps?

I'm not quite sure about your definition of "few", and likewise "easy", so you can determine that for yourself by looking at the ArchWiki page for dm-crypt/LUKS.  If the steps defined there meet your criteria for "few" and "easy" steps, then all the better.

infoslaw wrote:

Do you know does posible to clone hdd after full encryption?

I haven't tried it before, but I can't think of any reason why you couldn't.  You'd need to keep in mind the same things as with ordinary disk imaging, in addition to making sure you preserve the LUKS header.

I think maybe a better approach given your relative unfamiliarity with dm-crypt/LUKS may be to encrypt whatever you will, encrypt your destination, and transfer between them if possible.  As far as the security goes for it, I can't say for sure, but it sounds like a lot less to worry about than with cloning.

Offline

#8 2013-05-16 08:00:10

infoslaw
Member
From: UK, Belfast
Registered: 2013-05-06
Posts: 104

Re: [SOLVED] how to easy encrypt HOME\USER folder?

Thank you very much for all posts related to encryption. I choose dm-crypt with LUKS method. I encrypted one of my particion /home also I did it test with clonezilla and with 1TB hdd it takes circa 12 hours to image 1:1 all hard drive.

Regards,
Sławek

Last edited by infoslaw (2013-05-17 23:20:21)

Offline

#9 2013-05-24 08:03:10

infoslaw
Member
From: UK, Belfast
Registered: 2013-05-06
Posts: 104

Re: [SOLVED] how to easy encrypt HOME\USER folder?

The issue has been resolved now.

Last edited by infoslaw (2013-05-24 08:03:38)

Offline

#10 2013-05-24 08:34:27

gridcol
Member
From: Karlsruhe, Germany
Registered: 2012-03-27
Posts: 32

Re: [SOLVED] how to easy encrypt HOME\USER folder?

infoslaw wrote:

The issue has been resolved now.

Remember to mark your thread as [solved] by editing the title of your first post > "[solved] how to..." smile

Offline

#11 2013-05-24 21:44:45

infoslaw
Member
From: UK, Belfast
Registered: 2013-05-06
Posts: 104

Re: [SOLVED] how to easy encrypt HOME\USER folder?

Thank you gridcol

Offline

Board footer

Powered by FluxBB