LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-09-2010, 10:14 PM   #1
raspino
Member
 
Registered: Jul 2010
Posts: 38

Rep: Reputation: 1
ubuntu encryption passphrase problem


When I start my ubuntu server, I need to enter the passphrase to unlock the encrypted drives. The problem is that, without entering the password, I am not able to to connect to this server via ssh. I have set up my dd-wrt router to wake-on-lan this server but because I am not able to bypass the unlocking phase, ssh returns with an error. My questions are:
1. Will I be able to bypass the password phrase?
2. Will I be able to remove the encryption without re-installing the server?
3. Will ubuntu be able to mount the drives without the passphrase?

Your help is appreciated.

Last edited by raspino; 09-10-2010 at 10:11 AM. Reason: add one more question
 
Old 09-10-2010, 02:54 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
My WAG is that your ssh daemon is running, but you can't log in because /home is encrypted. (Does that sound right, or did you set up /boot + /, and encrypt all of /?)

To briefly speak to your questions:
  1. No. That would defeat the purpose of encryption.
  2. I don't know if it's possible to remove LUKS without deleting the partition and starting fresh. Maybe..
  3. See answer to #1. Without the key, an encrypted file/filesystem is garbage.
 
1 members found this post helpful.
Old 09-10-2010, 03:16 PM   #3
raspino
Member
 
Registered: Jul 2010
Posts: 38

Original Poster
Rep: Reputation: 1
Thanks! My /home is indeed encrypted. Not sure what options I have without doing a re-install.



Quote:
Originally Posted by anomie View Post
My WAG is that your ssh daemon is running, but you can't log in because /home is encrypted. (Does that sound right, or did you set up /boot + /, and encrypt all of /?)

To briefly speak to your questions:
  1. No. That would defeat the purpose of encryption.
  2. I don't know if it's possible to remove LUKS without deleting the partition and starting fresh. Maybe..
  3. See answer to #1. Without the key, an encrypted file/filesystem is garbage.
 
Old 09-10-2010, 04:18 PM   #4
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Since it's only the /home filesystem, the good news is from single-user mode you could blow it away / recreate it without reinstalling. But I'm not really a *buntu guy, and you probably wouldn't appreciate my trial and error approach. (Clues are: fdisk, mkfs, followed by user directory recreation with proper ownership.)

If it is not too painful, just back up your important files and go for a reinstall.
 
1 members found this post helpful.
  


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
Encryption on Ubuntu Lucid after installation danh000 Linux - General 4 07-22-2010 06:25 PM
LXer: Ubuntu 9.10 Home Encryption Performance LXer Syndicated Linux News 0 09-16-2009 01:20 PM
Encryption problem on Ubuntu 8.04 DexterP Linux - Wireless Networking 2 07-06-2008 08:28 AM
LXer: Ubuntu Disk Encryption Benchmarks LXer Syndicated Linux News 0 03-16-2008 03:50 PM
Ubuntu 6.10 - Encryption Problems littlebeagle Linux - Newbie 1 02-19-2007 08:11 PM


All times are GMT -5. The time now is 01:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration