LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to use USB key for passphrase for encrypted /Data? (https://www.linuxquestions.org/questions/linux-general-1/how-to-use-usb-key-for-passphrase-for-encrypted-data-881352/)

tommyttt 05-18-2011 02:22 AM

How to use USB key for passphrase for encrypted /Data?
 
I would like to use a USB key to hold the passphrase for an encrypted /Data partition. A forum search turned up only using that method for / which requires initrd. That's not what I'm after.

In openSUSE 11.4 I want to boot normally and then automatically unlock the /Data partition only if the USB key is inserted. I'm assuming this would require some kind of automounting after or during the boot process.

I'd appreciate any pointers along those or similar lines.

Thanks, Tom

corp769 05-18-2011 02:37 AM

Hello,

I have the following link saved in my bookmarks - http://linuxconfig.org/linux-authent...ith-usb-device
I know it's not EXACTLY what you are looking for, but I figured I would post it to share. If anything, I don't see why you couldn't mess with the PAM config to do what you really want to do.

Cheers,

Josh


All times are GMT -5. The time now is 03:12 PM.