Security Basics mailing list archives
Reseting root password Was: user name from security logs
From: Alexander Klimov <alserkli () inbox ru>
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
Current thread:
- user name from security logs Peter Rodger (May 26)
- RE: user name from security logs dave kleiman (May 27)
- Re: user name from security logs Emmanuel Goldstein (May 30)
- Re: user name from security logs Dave Patterson (May 31)
- Re: user name from security logs mike (May 31)
- Reseting root password Was: user name from security logs Alexander Klimov (May 31)
- Re: user name from security logs pierpaolo giacomin (May 31)
- Resetting the root password (was: user name from security logs) Ansgar -59cobalt- Wiechers (May 31)
- Re: user name from security logs Tom Rhodes (May 31)
- RE: user name from security logs Miguel Dilaj (May 31)
- Re: user name from security logs Emmanuel Goldstein (May 30)
- RE: user name from security logs dave kleiman (May 27)
- Re: user name from security logs Greg Stiavetti (May 27)
- <Possible follow-ups>
- Re: user name from security logs Kevin (May 26)
- Snort sniffer logs Tom Rhodes (May 30)
- Re: Snort sniffer logs Ron (May 31)
- Snort sniffer logs Tom Rhodes (May 30)