Help - Search - Members - Calendar
Full Version: Lost Password and Disks
Linuxhelp > Support > Technical Support
Randaddyz
I just started at a new company where the old net admin was fired. He did not write any passwords down for this one box running linux 2.4.22. I am to linux.

I need to get into this computer. How can I do this when I have no disks no anything? I need the info from it.

BTW: It is running a ftp server and I can get on to that!

Please help!!!

Randaddyz
michaelk
It would help to know what boot loader this system is using.
Also what linux distribution the system is running too.
You need to boot to single user mode and then use the passwd command to change the root password.

I assume this is really legit.
Termina
If you boot into single user mode, it'll still ask for a root password.

I suggest grabbing a live CD (Ubuntu, DSL, Knoppix, etc.) and mounting the partition containing the linux system.

Assuming it's 'hda1':
CODE
mkdir /mnt/hda1
mount /dev/hda1 /mnt/hda1
chroot /mnt/hda1 /bin/bash
passwd root
[enter the new passwords]
exit
shutdown -h now
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.