USB key to pass password in Centos 6

Andrew asked:

I had a room mate that put a livecd in my desktop and looked around on my machine. I caught him in the act and threw him out.

I haven’t had a room mate for a while now and so as to avoid the livecd issue again I encrypted the hard drive, the machine is running centos 6.3.

Is there anyway that I can avoid typing the password in each time if I have usb key in the machine to feed the password to the system?

Additional question.

Is there anything you can suggest to solve the problem I have ? Thanks

My answer:


Sorry, RHEL (and by extension CentOS) does not yet support using key material on a USB drive to unlock the boot drive.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.