Operating System - Linux
1748142 Members
3537 Online
108758 Solutions
New Discussion юеВ

Re: I can get into my server ...please help!!!

 
SOLVED
Go to solution
arshma rahman
New Member

I can get into my server ...please help!!!

my server crashed due to a power failure and now I can't access the server using my username and password. Does anyone know how I may be able to hack into my server.

many thanks

Arshma
7 REPLIES 7
Mark Grant
Honored Contributor

Re: I can get into my server ...please help!!!

You might notice some errors when you try to boot which might be helpful but.

If you have a rescue floppy that you created (you did create one didn't you?) then put it in and boot off it. Most people don't bother creating one of these though so you're next best bet is to find your installation CD's.

Most distributions will allow you to boot off their installation CD and give you the chance of running a rescue shell. Once in, you mount your root partition and go and edit the password file manually. The instructions for this will be slightly different for each distro so which distro are you running?

If the problem is deeper than just a corrupt password file, you will at least probably be able to get your data off the system.



Never preceed any demonstration with anything more predictive than "watch this"
Olivier Drouin
Trusted Contributor

Re: I can get into my server ...please help!!!

If your hd is not crashed I know the procedure for lilo.

1) @ the lilo prompt

LILO: linux init=/bin/bash


2) / is mount read-only, so

# mount -o remount,rw /

( dont type ^D or exit !!!! )

3) you can now type 'passwd' to change the passwd

4) to reboot

dont use 'reboot' or 'shutdown' ( init is not running )

use:
# mount -o remount,ro /
and reset the server

Oli
Steven E. Protter
Exalted Contributor

Re: I can get into my server ...please help!!!

At the server console you should be able to intervene in the boot process, detect the errors and boot your machine into single user mode, using the root user id and password.

If the damage is severe, you can try your Red Hat Emergency Diskette.

Based on what that tells you if you post it, people can help you proceed.

It is likely there is hardware damage, and depending on what kind, that will determine the next step.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
arshma rahman
New Member

Re: I can get into my server ...please help!!!

thanks for all your replys. However, sorry I should have have mentioned before. My server is running on MS windows 2000 server. I have managed to reboot the server and my website is also running fine, but i can't login to the server. My friend said that it could be that a hacker has gone in changed the password and that is why my password is being rejected.

This is why I need to hack and change the password again, if I can just get pass the screen saver.

Pls help. thanks
Alexander Chuzhoy
Honored Contributor
Solution

Re: I can get into my server ...please help!!!

1.You can use "ERD commander" soft, to boot from and then you'll be able to reset the password.
You can use e-mule and similar to download it.
2. You can connect to hard drive that you boot from on windows2000 to another machine as secondary.Then locate the file called "sam" -it's somewhere in c:\winnt\system32
and delete it.This will reset your accounts database.
Of course if you have user accounts on that server -they will be deleted too and in this case I suggest you to get back to option 1.
Mark Grant
Honored Contributor

Re: I can get into my server ...please help!!!

You might want to re-post this in the windows forum. There will be more people expert in that OS over in that forum.
Never preceed any demonstration with anything more predictive than "watch this"
arshma rahman
New Member

Re: I can get into my server ...please help!!!

thanks for you all your advice, I'll give it a go.