All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [dm-crypt] dm-crypt Digest, Vol 5, Issue 5
@ 2009-11-06  8:13 Luca Berra
  0 siblings, 0 replies; 3+ messages in thread
From: Luca Berra @ 2009-11-06  8:13 UTC (permalink / raw)
  To: dm-crypt

On Fri, Nov 06, 2009 at 09:32:15AM +0700, Hans Hallan wrote:
>Dear all,
>I have succeed in encrypting hard disk with cryptsetup.
>Now, I want to modify mkinitrd with automatically passphrase.
>I found this line in /sbin/mkinitrd:
>
>echo Setting up disk encryption: /dev/sda4
>plymouth ask-for-password --command "cryptsetup luksOpen /dev/sda4
>luks-sda4"
>
>the second line ask me to type the passphrase,
>is there anybody know how to make it automatically ? like:
>
>echo "passphrase" | cryptsetup luksOpen /dev/sda4 root ?
>I have tried this command and make new initrd but it did not work.
>It sound weird but, that is what I am asked to do.
it does not sound weird, it sounds incredibly stupid,
besides that try looking at the --key-file option of cryptsetup

L.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-11-06 12:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1.1257418801.20286.dm-crypt@saout.de>
2009-11-06  2:32 ` [dm-crypt] dm-crypt Digest, Vol 5, Issue 5 Hans Hallan
2009-11-06 12:11   ` Heinz Diehl
2009-11-06  8:13 Luca Berra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.