Home page logo
/

basics logo Security Basics mailing list archives

Re: Resetting the root password (was: user name from security logs)
From: "KillKenny" <killkenny () fibertel com ar>
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



  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]