Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Lost Password and Disks, Help
Randaddyz
post Mar 17 2006, 06:17 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 17-March 06
Member No.: 6,177



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
Go to the top of the page
 
+Quote Post
michaelk
post Mar 18 2006, 06:08 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



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.
Go to the top of the page
 
+Quote Post
Termina
post Mar 24 2006, 02:35 AM
Post #3


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



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


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 09:22 PM