Support This Site burning void logo
 
Blogs:
Reviews
Site Blog
Writers' Exercises
Engineering Ardor
 
Resources:
Roleplaying
Writing
Cooking
Computers
Links
 
Cafepress Shops:
Stuff for Gamers
Caffeinated Chicanery
 
Admin:
Home
About Us
Contact Us
Twilight Time list
Site Update list

Sponsors:


(Your Link Here)
 
Text Link Ads
 
 
Search Now:
In Association with Amazon.com
 
 

Home --> IAQ -->

Forgotten Root Password

By Jeffrey Howard
All rights reserved unless noted otherwise

 

You've forgotten the root password to your machine.

Platform

Linux with the lilo boot loader.

Solution

Reboot your linux machine. At the lilo prompt, type:

linux 1

assuming linux is the tag you have in lilo for your linux kernel. Other boot loaders should have some feature to pass parameters to the kernel on startup, as well.

This boots linux with all the priveleges of root. Just use passwd to change root's password to whatever you want. I'm sure there are also slighly more convoluted ways of accomplishing the same thing by making a bootable linux floppy from which you can mount hard drive partitions.

Yes, this does mean that it's fairly simple to get into a linux box if you're sitting in front of it. Some people try to fix this problem with a BIOS password, so the machine won't boot without a password. Of course, with enough time to unscrew the case and tamper with the motherboard, this too can be circumvented. Alternatively, someone can just take the hard drive out of your machine altogether. The point is that if someone is sitting at your machine, they can do just about anything anyway. If you're really worried, start securing your machine with good physical security.

jhoward@burningvoid.com

 
 
Google
 
Web burningvoid.com

This information is provided "as is," with no warranty or guaranty. The IAQ pages have not been maintained in some time; they're being kept up because, judging by the traffic and link-backs, people still find them useful.
Copyright 1998-2004 by Jeffrey Howard and Heather Grove, except where stated otherwise.