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. |

| Subject: | Re: user name from security logs |
|---|---|
| Date: | Tue, 31 May 2005 06:47:50 +0700 |
here's my question: Is there anyway to change the admin password and/or get the machine's control back? If not, Do i have to backup and reinstall linux on every box?
You need to redefine your root.
hit shift at the boot prompt and enter
boot: Linux init=/bin/sh
then do:
# mount -n -t remount,rw /
# mount -avt nonfs,noproc,nosmbfs
# cd /etc
# vi passwd
# vi shadow
if the second data field in /etc/passwd is x,
then you need to edit the second data field in the passwd file so that
it becomes empty. Then you can reboot and login to root without a password.
--
Regards, Dave
Dare to be naive.
-- R. Buckminster Fuller
signature.asc
Description: Digital signature
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Alerts of the ICMP relationship with smtp connection?, Paulo |
|---|---|
| Next by Date: | about http method, Monty Ree |
| Previous by Thread: | Re: user name from security logs, Emmanuel Goldstein |
| Next by Thread: | Re: user name from security logs, mike |
| Indexes: | [Date] [Thread] [Top] [All Lists] |