Reseting root password Was: user name from security logs

From: Alexander Klimov (alserkli_at_inbox.ru)
Date: 05/31/05

  • Next message: David: "DNS cache poisoning and pharming"
    Date: Tue, 31 May 2005 11:33:07 +0300 (IDT)
    To: Emmanuel Goldstein <goldstein101@gmail.com>
    
    

    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
    

  • Next message: David: "DNS cache poisoning and pharming"

    Relevant Pages

    • Re: Nokia VPN210
      ... To reset the admin password you need physical access to the box and boot ... The tunnel is defined in the Checkpoint FW-1 GUI, a client that will ... :> Thomas. ...
      (comp.security.firewalls)
    • Re: Locked out of SBS 03
      ... If someone with malicious intent has physical access to your server. ... follow the prompts and reset the admin password to whatever you want. ...
      (microsoft.public.windows.server.sbs)
    • Re: Help: Avoid admin password acking
      ... It is a piece of cake to reset an admin password in xp/2k it takes ... physical access to machine and about 5 mins. can we all say LINUX BOOT ...
      (microsoft.public.windowsxp.security_admin)
    • Re: SAM File
      ... You will find that you can get into most operating systems ... once you have physical access to the machine. ... > the admin password and allow you access to the machine ... > which in turn allows you to browse the network, ...
      (microsoft.public.win2000.general)