Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-06-2014, 01:37 AM   #1
LQ Newbie
Registered: Aug 2014
Posts: 2

Rep: Reputation: Disabled
Luks disk encryption

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.
Old 08-06-2014, 03:47 PM   #2
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:

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
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.


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
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration