On Fri, 17 Sep 2004 19:39:41 +0100, 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? > > This is REALLY urgent because I must use the machine tomorrow, so if all > else fails I shall have to reinstall the system. >
Mmh, edit /etc/passwd (or /etc/shadow), the second field (after the username) is the hashed passwd, delete it and at next login you only need to press enter. Andrea -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]