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 want to give high security for my linux box. So i planed to use my pen drive as key for my linux box.

How can i do it ?

share|improve this question
1  
What is your backup plan in case you loose your pen-drive? –  lamcro Sep 21 '10 at 16:16
add comment

4 Answers

up vote 4 down vote accepted

Additionally you can authenticate by usb device (including one time pads and any mix with other PAM modules of course). As tante said you can also store keys to harddrive on usb device.

share|improve this answer
add comment

If you mean to use a pendrive to decrypt and encrypt your harddrive, yes that is possible and actually not that complex. You can find full documentation at this Gentoo Wiki article (applies to other distributions as well)

share|improve this answer
add comment

Alternatively, check out the Yubikey concept, from Yubico. Pretty nice.

I used to use pam_usb, like Maciej suggests, but the project's last release is three years old.

share|improve this answer
add comment

You can put your whole Linux system on a 64G or 128G pendrive and boot from it. Your Linux box will be as secure as your pocket.

share|improve this answer
1  
Do let me stress "secure as your pocket". Although not used for securing a whole box, I was using a thumb-drive on my (real) key chain as containing part of a key I needed to access a non-critical crypto (virtual) key-ring. I removed the thumb drive in order to take off a key, and poof, I need a new strategy (or at least redundancy). –  msw Sep 20 '10 at 16:53
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.