Re: Locked out! How to circumvent password urgently?
Anthony Campbell (<email@example.com>) 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
to the boot loader command line. You will boot directly into a shell, no
login is required. Run
mount -o remount,rw /
Andreas Janssen <firstname.lastname@example.org>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976