LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-13-2014, 12:12 PM   #1
GNewbie
Member
 
Registered: Sep 2005
Distribution: (U/K/X)buntu 6.1 (newer box) / D*mn Small Linux (older box)
Posts: 326

Rep: Reputation: 31
HowTo Access Former encrypted Internal HD as an External HD


Hi All,

I had an encrypted internal drive (with Linux Mint) associated with a motherboard that went bad. It had been a while since I'd logged in and didn't recall the password. Well I know the password now, I have the cable to attach the legacy connectors via USB and I can connect the drive so that the icons show up on my desktop.

What I don't know how to do is to find the place where I can enter the password and decrypt the drives so I can access the information on them.

Any help is much appreciated.

Last edited by unSpawn; 04-13-2014 at 02:19 PM. Reason: //Enhance thread title
 
Old 04-13-2014, 04:46 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
what was used in the first place to encrypt it ?
the operating system installer ?
truecrypt?
something else ?

and did you also save the old keys ( if needed) ?
if not , you might never open it
 
Old 04-14-2014, 12:50 AM   #3
GNewbie
Member
 
Registered: Sep 2005
Distribution: (U/K/X)buntu 6.1 (newer box) / D*mn Small Linux (older box)
Posts: 326

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by John VV View Post
what was used in the first place to encrypt it ?
the operating system installer ?
truecrypt?
something else ?

and did you also save the old keys ( if needed) ?
if not , you might never open it
Thanks for the reply. It was the encryption that came with the operating system. I knew the basic schema of the password and actually found a way to run through a text list of passwords. It was rough going until I ran across my password - so I have it now. It was in line with what I thought it was, but it might have taken me a while to actually hit upon it by trial and error.

I was actually able to use "sudo ecryptfs-recover-private" to recover the drive, but I didn't see anything on it. I'm wondering if it was a mount issue. I have to spend some more time working on it. But I did make some progress - and that's a good thing.
 
Old 04-14-2014, 08:59 AM   #4
GNewbie
Member
 
Registered: Sep 2005
Distribution: (U/K/X)buntu 6.1 (newer box) / D*mn Small Linux (older box)
Posts: 326

Original Poster
Rep: Reputation: 31
I'm using ecryptfs-recover-private and I get the following message...

INFO: Enter your LOGIN passphrase...
Passphrase:
Inserted auth tok with sig [6cd06deca975466d] into the user session keyring
INFO: Success! Private data mounted read-only at [/tmp/ecryptfs.cTJGNJCO].
INFO: Found [/media/[alphanumerichere]/.ecryptfs/[homedrivename]/.Private].
Try to recover this directory? [Y/n]:

I then input sudo thunar and navigated the home directory.

There were two icons:
1. Access-Your-Private-Data.desktop
2. README.txt

When I double clicked on the README.txt file, it read:

THIS DIRECTORY HAS BEEN UNMOUNTED TO PROTECT YOUR DATA.

---
From the graphical desktop, click on:
"Access Your Private Data"

or

From the command line, run:
ecryptfs-mount-private
---

When I put ecryptfs-mount-private into the command line, the output read:

ERROR: Encrypted private directory is not setup properly

I'm stumped at this point.

Any help would be appreciated.

TIA...

Last edited by GNewbie; 04-14-2014 at 09:00 AM.
 
  


Reply



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
[SOLVED] Moved offices. External websites/internal ssh both work, but internal http doesn't. jasonws Linux - Networking 3 08-04-2011 03:26 PM
howto access webserver from internal network? Falafel Linux - Networking 6 11-01-2005 02:18 PM
block internal user to access external proxy server ckamheng Linux - Security 7 09-09-2005 03:37 AM
vsftpd only can access for internal but not external bbmak Linux - Software 9 04-29-2005 08:36 PM
setup email client for internal and external mail access shadoxity Linux - Software 15 04-21-2005 08:17 AM

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

All times are GMT -5. The time now is 12:01 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