Results 1 to 10 of 12
Our server was hacked and the password of "root" was modified. The Cent OS version is 3.9 and i386. How to change the password to enter the OS?
I also ...
- 07-29-2009 #1
How to upgrade Cent OS from Version 3.9 to 5.2 or latest version?
Our server was hacked and the password of "root" was modified. The Cent OS version is 3.9 and i386. How to change the password to enter the OS?
I also need to upgrade the OS. Any help will be appreciated.
Thanks!
- 07-29-2009 #2Just Joined!
- Join Date
- Jul 2009
- Location
- Chicago, IL
- Posts
- 9
I can't post links, so I can only tell you how to get there. Google "centOS change root password" and go the 4th result, it should be titled "Linux reset forgotten root password"
- 07-29-2009 #3
You really do not need to change the password, you need to boot up with some LiveCD, get user files out from there and do a clean install of OS.
A case like this should be thoroughly investigated to find out how they got in, whether it was a poorly configured application or something wasn't updated. So it won't happen again.
- 07-29-2009 #4
thanks all . i got it.
Now, i run into another problem. When I use
to upgrade the OS from 3.9 to the latest version, I reboot computer after all runnings finished.Code:yum upgrade
But, after typingthe following information shows:Code:lsb_release -a
LSB Version: 1.3
Distributor ID: CentOS
Description: CentOS release 3.9 (Final)
Release: 3.9
Codename: Final
Why the OS didnot be upgraded?
- 07-29-2009 #5
I think you did not understand. The computer is compromised. You cannot trust it any more. You have to do fresh install.
- 07-29-2009 #6forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,095
I agree with Segfault that a clean install is in order if the system was compromised and someone else has had the root password. Just resetting the password isn't enough to make sure that the system hasn't been changed in some way.
Just curious, did you do a fresh install, timiao?
Edit: oops, segfault was a second quicker than me on the submit button, but it's funny that we were thinking exactly the same at the same time.oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 07-29-2009 #7
Well, everybody with little experience thinks same facing problem like this one.
- 07-29-2009 #8
Thanks Segfault,
Now, I restored the password. and, I can enter the OS.
I want to upgrade the current OS from version 3.9 to 5.2 or the latest version on another compuer.
so, I usedBut, after rebooting, the OS version information shows still version 3.9.Code:yum upgrade
- 07-29-2009 #9forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,095
I wouldn't advise doing an upgrade, but do a fresh install with the latest version of CentOS. The system has been tampered with according to your earlier post and an upgrade isn't going to necessarily solve any issues that remain after the system was compromised.
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 07-29-2009 #10


Reply With Quote
