LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-06-2014, 01:37 AM   #1
balaji2219@gmail.com
LQ Newbie
 
Registered: Aug 2014
Posts: 2

Rep: Reputation: Disabled
Luks disk encryption


Hi,
I need to configure encrypted disk on RHEL6, but the key should be stored on the network server/database, encrypted disk should get decyrpted during boot or after boot using this key and without asking any passphrase.
Any help or article is highly appreciated.
Regards,
Balaji.
 
Old 08-06-2014, 03:47 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Slackware/Knoppix
Posts: 1,761
Blog Entries: 14

Rep: Reputation: 267Reputation: 267Reputation: 267
During boot might be a bit tricky, after boot just make sure the network server has a mountable drive, say nfs, with the keyfile on it. Make sure the nfs drive is mounted first, then have the luksOpen command have the keyfile referenced to the network drive.

Hope that helps

[EDIT] Something like this: http://www.howtoforge.com/automatica...with-a-keyfile

but instead of "/root/keyfile" use /{place where you mounted the network drive}/keyfile so if your fstab has server's nfs drive mounted under /mnt/nfserver, then "/mnt/nfserver/keyfile"

Last edited by mostlyharmless; 08-06-2014 at 03:55 PM.
 
Old 08-06-2014, 03:51 PM   #3
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,836

Rep: Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360
fyi: Your request, this setup, is not secure in any way.

Do what you need to do, but realize it isn't secure.
 
  


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
Creating mdadm raid and luks disk encryption from the command line fakie_flip Linux - Software 1 01-07-2013 11:49 PM
LUKS encryption, sets xyzone Linux - Security 1 06-21-2010 01:43 AM
Security of LUKS encryption PlatinumX Linux - Security 5 06-06-2009 05:08 PM
How secure LUKS/LVM disk encryption really is? <Ol>Origy Linux - Security 14 03-09-2009 01:09 PM
LUKS encryption question DarkpawT Linux - Software 4 11-05-2008 02:18 AM


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