LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-18-2012, 10:01 AM   #1
imayneed
Member
 
Registered: Jul 2012
Distribution: Mint 9 Gnome, Mint 13 KDE
Posts: 60

Rep: Reputation: Disabled
Home Folder Encryption with ecryptfs


I followed the instruction on http://www.makeuseof.com/tag/encrypt...llation-linux/ and now in my home folder, I have

username
username.somelettersandnumbers

folders instead of just

username

Did I do something wrong or it didn't work or what?

This is on Mint 13 KDE.

And I can see all the files in those folders without entering the passphrase I created. I just logged in with my regular login password.

If it didn't work can I delete safely the folder username.somelettersandnumbers?
Again if it didn't work, how should I encrypt my home folder without reinstall?

Thanks.

Last edited by imayneed; 09-18-2012 at 10:02 AM.
 
Old 09-18-2012, 11:49 AM   #2
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
Don't delete the username.lettersandnumbers! By all means look at them; you should see garbage file names. These are your encrypted files. If you delete them, you lose all your files.

Basically, it sounds like it worked fine. Once you enter your login password you have transparent access to your files.

Try logging in via a new test user account. You should not be able to see /home/username (your original user name).

Or boot from a live CD as the tutorial suggests.

Last edited by SecretCode; 09-18-2012 at 11:52 AM.
 
1 members found this post helpful.
Old 09-19-2012, 02:05 AM   #3
imayneed
Member
 
Registered: Jul 2012
Distribution: Mint 9 Gnome, Mint 13 KDE
Posts: 60

Original Poster
Rep: Reputation: Disabled
Thanks for your reply.

So what is the passphrase created for?

And also, so anyone who hacks my login password has access to my home folder?

I wanted to encrypt the home folder so that even if someone hacked my login (root) password wouldn't be able to see the files in my home folder.
 
Old 09-24-2012, 06:05 PM   #4
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
The passphrase is for recovering your data if you can't log in. E.g. I think recovering from backups (of the encrypted files).

Why don't you choose a stronger login password?

You can't log in (at least, you can't start the gui) without accessing your home folder. So whatever passwords and passphrases you enter to log in, yes, if someone hacks them, they have access to your files. I'm not sure what you're asking makes sense.

If what you really want is some of your home folder files to be more heavily encrypted, with an extra, stronger password, then you should be looking at a separate encrypted directory - using encfs for example. cryptkeeper is a useful utility for mounting these directories.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recover deleted .ecryptfs folder using extundelete in Ubuntu ambivalent Linux - Newbie 23 09-17-2012 04:51 AM
[SOLVED] How to easy set up encryption on existing data - home folder? infoslaw Linux - Newbie 5 02-12-2012 10:34 AM
[ECRYPTFS] ecryptfs_init_miscdev: Error whilst attempting to open [/dev/ecryptfs] nitinarora Linux - Kernel 0 03-22-2010 06:36 AM
mixed mounting of automount and fstab in one folder? &different home folder using NIS herofmm Linux - Software 0 04-06-2009 12:00 PM
Home folder icon does not open home folder CiscoGeek Linux - Newbie 3 12-18-2006 08:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration