LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 12: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, 02:47 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
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 02:55 PM.
 
Old 08-06-2014, 02:51 PM   #3
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

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

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


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:46 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
Open Source Consulting | Domain Registration