LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-18-2014, 01:55 PM   #1
Danniel
LQ Newbie
 
Registered: Sep 2014
Location: Spain
Posts: 4

Rep: Reputation: Disabled
Decrypt <user> folder in /home - Ubuntu 14.04


Hello, i am still a newbie in linux since i definitely quitted from Windows this spring, i use now two hard drives in my computer, one 3TB disk with Ubuntu 14.04 installed on it, and a 1TB disk with Linux Mint 17, which i bought recently.
The problem is that i cannot access to my user folder of Ubuntu 14.04 from Linux Mint, when i type "encrypted_mount_private" on the console it says:
<< Encrypted private directory is not set up properly.
I have also tried to access to it using Parted Magic but it's the same.
The question is, how can i have access to my user folder? since i know my username and password there should be no problem on having access to it, the only problem is that i don't know the way to decrpyt it.
Any kind of help would be so much appreciated.

Sorry if i posted this thread in the wrong section, since it's a problem with encrypted folder i think this is the correct place to post it. Thanks.
 
Old 09-19-2014, 09:50 AM   #2
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
This might help: http://www.kaijanmaki.net/2009/10/26...ncrypted-home/

The same method should apply to mounting it inside a different distribution.
 
Old 09-19-2014, 10:29 AM   #3
Danniel
LQ Newbie
 
Registered: Sep 2014
Location: Spain
Posts: 4

Original Poster
Rep: Reputation: Disabled
First of all, thanks for the reply coralfang, but i have one problem with that solution, i didn't write down the passphrase and now i can't get access to my Ubuntu 14.04 HDD because my screen goes black after i login. Isn't there any other way to decrypt the user folder with just my username and password?
 
Old 09-19-2014, 03:37 PM   #4
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
You can get the recovery key passphrase by running:
Code:
ecryptfs-unwrap-passphrase
When you boot into ubuntu, try logging into the console (for example: ctrl+alt+F2), and login. If you can get the key/phrase from that command, the other instructions should work.

The ecryptfs encryption key is generated randomly i believe (i don't think it's related to your user login's password).
 
Old 09-19-2014, 04:18 PM   #5
Danniel
LQ Newbie
 
Registered: Sep 2014
Location: Spain
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks again coralfang, if i can make it works and i recover my data your help won't remain unrewarded.
 
Old 09-20-2014, 06:55 AM   #6
Danniel
LQ Newbie
 
Registered: Sep 2014
Location: Spain
Posts: 4

Original Poster
Rep: Reputation: Disabled
Okay, the command found the passphrase file on my system and now i am just like this example:

http://www.linuxquestions.org/questi...1&d=1411213906

But now, how do i get the login passphrase?
Attached Thumbnails
Click image for larger version

Name:	650x150ximage142.png.pagespeed.ic.FhNPZRKUKP.png
Views:	126
Size:	43.9 KB
ID:	16479   Click image for larger version

Name:	650x200ximage143.png.pagespeed.ic.0ktRJILu6R.png
Views:	306
Size:	55.0 KB
ID:	16480  
 
  


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
How to decrypt home folder? kristenbb Linux - Newbie 13 05-28-2013 01:33 PM
Change user's home folder mruda Linux - Newbie 1 11-23-2011 04:35 PM
Deleted User Lost Home Folder need recoverd Ubuntu wizard210 Linux - Desktop 3 02-06-2011 03:43 PM
Deleted user's home folder f0r3nzIc Linux - General 5 07-18-2008 01:18 AM
I can not open the user folder in home and write in a shared folder jorge_ivan Linux - General 8 08-02-2006 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:07 AM.

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
Open Source Consulting | Domain Registration