Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Forgotten root password



On Fri, Apr 09, 2004 at 11:11:11PM -0400, Drew Taylor wrote:
> I'm resurrecting an old RH 7.3 box and I've forgotten the root password. 
> :-( In addition, I seem to have tossed the old install discs I burned as 
> well. I have a non-root login I remember so I can log into the system. 
> But I can't upgrade apache/perl/etc. What are my options?

The boot loader you have on that machine is probably LILO.  At the
Linux prompt, boot to single user mode by typing this:

  linux s

This will boot the system minimally and give you a root shell.  You
can basically do what you want from here.  That is, assuming you did
not set a password in the boot loader to prevent this kind of access
from being easy...

> PS. At some point I'll probably upgrade to Fedora Core or Debian (via 
> Knoppix I think). I also understand about vulnerabilities in such an old 
> release and the box is 100% not accessible from the outside.

Well, my advice is don't put off until tomorrow what you really ought
to do today...  If you have this kind of situation, you really should
just upgrade the box before you do anything else.  That'll solve your
root access problem.

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
Despite the ever-increasing complexities of human society and the advancement
of science and technology, the most perplexing problems that face most people
remain what to eat for lunch today, and who to sleep with tonight.
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail.  Sorry for the inconvenience.  Thank the spammers.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.blu.org/pipermail/discuss/attachments/20040410/cfb3502b/attachment.sig>



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org