Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have been assured that this is possible, but have so far not found any reference that will clue me as to how to do it. I need to deploy an "appliance" with software and data that the user is permitted to use, but which I would prefer to keep them from poking around inside. The user will not have root access, so the running system should be protected. I want to stop the HDD being pulled and mounted elsewhere.

So far I have installed all but /boot into an Encrypted file system, and I am challenged for a password very early in the boot process. One of my colleagues heard from "somewhere" that TPM would be the solution to protecting the password challenge, which would allow the system to boot and unencrypt the root partition without root user presence. How do I get this working, been googling for various combinations a words, to no avail. I also installed a TPM-aware version of GRUB, but have no idea how/if this actually helps me.

share|improve this question
    
Do you actually have a TPM in that computer? Is it enabled in the BIOS? –  Gilles Apr 3 '13 at 23:10
    
Yes, the TPM is installed in the unit and enabled in the BIOS. I have been able to communicate with it using the TPM-utils (tpm_takeownership, tpm_version, and so on). We were originally attempting to do a whole encrypted drive (only /boot not encrypted), but have now settled for a single encrypted partition for our application to reside in. –  Chris Collingwood Apr 14 '13 at 14:03
    
What is preventing the user from pooling the drive out, changing the root password to access root and the keyfile? If they have physical access, they can always find a way. –  jordanm May 9 '13 at 16:58
add comment

1 Answer

If you're using LUKS/dm-crypt, this tutorial may provide the answer. It describes how you can automatically unlock an encrypted partition during boot-up using a special, root-only keyfile.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.