Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Security-Basics
[Top] [All Lists]

Reseting root password Was: user name from security logs

Subject: Reseting root password Was: user name from security logs
Date: Tue, 31 May 2005 11:33:07 +0300 (IDT)
On Sun, 29 May 2005, Emmanuel Goldstein wrote:
I have physical access to the computer and i can also access all hd's
files using a LiveCD linux distribution.

So, here's my question:  Is there anyway to change the admin password
and/or get the machine's control back?

Boot a LiveCD, mount the root partition:

mkdir /tmp/a; mount /dev/hda1 /tmp/a

chroot to it:

chroot /tmp/a

and change the password:

passwd

Depending of authentication method used you can do it more directly,
e.g., changing a line in /etc/shadow:

root:password-hash:....

to

root::....

-- 
Regards,
ASK

<Prev in Thread] Current Thread [Next in Thread>