View previous topic :: View next topic |
Author |
Message |
justintheknick n00b
Joined: 20 May 2010 Posts: 1
|
Posted: Thu May 20, 2010 12:30 am Post subject: Change LUKS password prompt |
|
|
Is there any way to change the LUKS password prompt, from "Enter LUKS passphrase for sda..".
I have full system encryption, and when booted I'd rather the prompt be custom, such as:
"No Operating System found", just for a bit of plausible deniability to the casual user.
I've had a look in and around certain config files looking for this string, but to no avail.
Thanks. |
|
Back to top |
|
|
Shazam Apprentice
Joined: 23 Nov 2004 Posts: 191 Location: Germany
|
Posted: Sun May 30, 2010 10:05 pm Post subject: |
|
|
I haven't used LUKS in quite some time, but I think you have two options to accomplish your goal:
first: download the source code and find the phrase in there and change it to whatever you need it. Then compile and install it by hand. This could break consistencies with your packages tho, and is probably the more hackerish way.
second: you create a wrapper script to cryptsetup which is called instead cryptsetup. Something that will display the message of your choice, reads the input from the user and then calls cryptsetup with redirecting the output to a file or /dev/null. A check to wether or not it has been successful, is probably a good idea, too.
I don't know if that helped, but if you need some more details let me know, I haven't worked out the details. As said, haven't been using LUKS for quite some time, now. |
|
Back to top |
|
|
frostschutz Advocate
Joined: 22 Feb 2005 Posts: 2977 Location: Germany
|
Posted: Sun May 30, 2010 11:15 pm Post subject: |
|
|
Plausible deniability to the casual user (is not really my goal, but) on my system looks like this:
It boots Windows.
Linux only if my USB key is attached... I need the USB anyway for true full disk encryption... and it's useful since I also have Live CDs on there... so
The problem with the No Operating System Found in the cryptsetup binary is that at that point, Linux kernel already booted and produced output messages, and even with quiet option you don't get rid of them all, so "No Operating System" is simply not plausible at this stage.
How about an empty read prompt where you have to enter some word before the real password prompt appears. That could be done easily and wouldn't require any modification (other than to your initramfs init script)... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|