LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ubuntu encryption passphrase problem (https://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-encryption-passphrase-problem-831293/)

raspino 09-09-2010 09:14 PM

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.

anomie 09-10-2010 01:54 PM

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.

raspino 09-10-2010 02:16 PM

Thanks! My /home is indeed encrypted. Not sure what options I have without doing a re-install.



Quote:

Originally Posted by anomie (Post 4093773)
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.


anomie 09-10-2010 03:18 PM

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.


All times are GMT -5. The time now is 05:55 PM.