Re: Resetting the root password (was: user name from security logs)

From: KillKenny (killkenny_at_fibertel.com.ar)
Date: 06/02/05

  • Next message: Rod: "UDP 1027"
    To: <security-basics@securityfocus.com>
    Date:	Thu, 2 Jun 2005 10:02:10 -0300
    
    

    Why not booting with the Knoppix CD and making a chroot to the / filesystem?

    Booting the Knoppix CD
    mkdir /mnt/disk
    chown /mnt/disk /bin/bash
    and change the password

    Ivan

    ----- Original Message -----
    From: "Chandan" <chandanasha@gmail.com>
    To: <security-basics@securityfocus.com>
    Sent: Wednesday, June 01, 2005 4:18 AM
    Subject: Re: Resetting the root password (was: user name from security logs)

    > Hi,
    >
    > You can do it as
    > press CTRL x and type linux -s if you are running lilo. Then press enter
    > you you are in single usermode. change the admin password using
    > command passwd. and reboot the machine.
    >
    > Chandan
    >
    > On 5/31/05, Ansgar -59cobalt- Wiechers <bugtraq@planetcobalt.net> wrote:
    > > On 2005-05-29 Emmanuel Goldstein wrote:
    > > > I've recently started to work in an Internet Cafe wich has a network
    > > > of 10 Pc's running linux (Debian Woody). The thing is that the guy
    > > > that was in charge of the network left without leaving the admin
    > > > password cause he was fired, so now we can only access the computers
    > > > with a regular user account.
    > > >
    > > > 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? If not, Do i have to backup
    > > > and reinstall linux on every box?
    > >
    > > Try "init=/bin/sh" at the boot prompt.
    > >
    > > And please do not hijack threads. If you have a new topic write a new
    > > mail instead of replying to some other thread. Thanks.
    > >
    > > Regards
    > > Ansgar Wiechers
    > > --
    > > "All vulnerabilities deserve a public fear period prior to patches
    > > becoming available."
    > > --Jason Coombs on Bugtraq
    > >


  • Next message: Rod: "UDP 1027"

    Relevant Pages

    • Re: Laptop Ethernet Port
      ... She does not connect to the internet with Knoppix and has no trouble ... Ethernet connection. ... This has nothing to do with booting. ...
      (microsoft.public.windowsxp.hardware)
    • checking hda during while boot by knoppix BOX
      ... There is a message while I booting my knoppix Box ... checking rootfile system fsck1.35 wip.. ... I would like to have the knoppix Box check root file system less ...
      (Debian-User)
    • Re: Bootup Freezes
      ... >> Knoppix, and found it froze the box also, and after some more ... > Could there be a motherboard problem? ... > southbridge when booting up from the bbc-2.1 cd. ... the kernel. ...
      (Debian-User)
    • Re: Chkrootkit - cant find strings
      ... booting from Knoppix said ps was okay but ifconfig was ...
      (comp.os.linux.security)