?
Solved

Preboot Authentication for Linux

Posted on 2009-07-06
7
Medium Priority
?
1,036 Views
Last Modified: 2013-12-15
Is there any generic open source project for providing preboot authentication on Linux for all distributions
0
Comment
Question by:tittu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 43

Expert Comment

by:ravenpl
ID: 24786923
Pre-boot? You mean bios should do that? Or boot-loader? Or initrd script?
And You want to authenticate against?

Since You are asking about linux, I'm assuming grub bootloader or initrd.
I haven't heard about any initrd auth related customization.
You could probably force grub to ask for password.
You also could run the linux on LUKS encrypted root device, one have to unlock the root device first to get to real OS.
0
 

Author Comment

by:tittu
ID: 24791918
I have a driver module and source code which authenticates biometric thumb impression.
I coud able to place this authentication module before the login screen.
The requirement is to place the authetication module before uncompressing the kernel or at grub stage ?
Is it possible to access driver modules in grub ?.

How do i protect the root file system theft/copying using a rescue CD with this approach ?.

0
 
LVL 7

Accepted Solution

by:
diepes earned 1500 total points
ID: 24792053
Hi,
1. You will have to encrypt the HD, to protect against some one steeling the HD or using a rescue CD
     * There is a lot of howto's basic you have a small un-encrypted /boot  and all the rest (LVM) encrypted.
2. When the kernel and initrd.img load from the un-encrypted /boot they will ask for the encryption key, this can also be on a usb device.

0
AWS Certified Solutions Architect - Associate

This course has been developed to provide you with the requisite knowledge to not only pass the AWS CSA certification exam but also gain the hands-on experience required to become a qualified AWS Solutions architect working in a real-world environment.

 
LVL 43

Expert Comment

by:ravenpl
ID: 24792065
No, grub isn't smart enough to run kernel modules. Sorry,it's merely boot loader.
What You probably could (but would have to build custom solution) is
- include the authentication into initrd script (after kernel is booted, before root filesystem unlocked/mounted)
- include the authentication into /sbin/init or upstart (after initrd is ready and root filesystem up).
0
 
LVL 1

Expert Comment

by:dontdig
ID: 24792610
use trucypt
http://www.truecrypt.org/downloads

but firstly try on demo machine i.e virtual machine
0
 

Author Comment

by:tittu
ID: 25366341
comment is not helpful
0
 

Author Closing Comment

by:tittu
ID: 31600181
partially ok
0

Featured Post

WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month10 days, 8 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question