Hello

Anthony Campbell (<[EMAIL PROTECTED]>) wrote:

> I can't access my laptop because neither the user nor the root
> passwords work. I can only think I was hacked last night.
> 
> I can't access via single user either.
> 
> I can get into the system via knoppix. Are there any files in /etc I
> can delete in order to make the system accessible without a password?

You can edit the passwd or shadow file. Or you can chroot into the
installed system and run passwd. Or you can boot from hard disk, and
append

init=/bin/sh

to the boot loader command line. You will boot directly into a shell, no
login is required. Run

mount -o remount,rw /
passwd
reboot

best regards
        Andreas Janssen

-- 
Andreas Janssen <[EMAIL PROTECTED]>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to