Freedom The Open Source Way Contribute Articles or News to OSForgeOSForge HomeLogout from Forums
Contacting OSForgeOSForge HomeAbout OSForge
  

Root
Contribute News
Learning Corner
Linux Distributions
Linux Common FAQ's
Discussion Forums
Community Gallery
Links Directory
Search OSForge
Networking
Industry Updates
Linux & Open Source
Opinions
Press Release
Programming
Security
Web Development

White Paper
Likewise Cross-Platform Integration Software Hits 100,000 Users
Cloud.com Releases New Version of CloudStack
CeBIT 2011: Zarafa Sets New European Open Source Groupware Standard
Open-Xchange Partners to Bring Cloud-Based E-mail Integration with Salesforce.com
Dell Customers Use Ubuntu to Deploy Cloud
London's Design Museum Recognizes Ubuntu Fonts
Canonical announces Ubuntu Developer Day
Capgemini Enters into an Alliance with Six Open Source Vendors
Liferay Releases LESA to Enterprise Customers
Zarafa Announces SiMKo 2 Support and a New S/MIME WebAccess Plugin

View More »

Password protecting LILO
  [Printable Version]



lilo.conf

By password protecting LILO, No user would be allowed to boot your Linux OS without supplying a valid password. LILO can be password protect by a slight modification in lilo.conf situated at /etc/lilo.conf. This file is used by LILO for all the configuration and settings. Just add the following lines in your lilo.conf file:

password=password
              The per-image option `password=...' (see below) applies to all images.

restricted
              The per-image option `restricted' (see below) applies to all images.

       password=password
              Protect the image by a password.

       restricted
              A password is only required to boot the image if
              parameters are specified  on  the  command  line
              (e.g. single).

Note: Make sure that you do not forget your password otherwise you would not be able to boot your machine. If you are password protecting your server, then your machine won't be able to start again in case of power failiure until you come in and supply the password.

Additional Security Tricks
Make sure to chmod /etc/lilo.conf to "600" (readable and writing for root only) in order to prevent others to read your passwords.

Now, you have password protected LILO but it won't prevent someone from booting from a floppy and mounting your root partition. You can prevent this by disabling boot from floppy in your computer's BIOS. After you are done make sure to password protect the BIOS to prevent others from changing the settings.

  

[ Back to Linux Computin | Sections Index ]

 
Scroll Up

   About | Term of Use | Privacy | Adras | Tell a Friend | Advertise  

OSForge News RSS Feed