🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #47951

Re: Can login the Linux anymore

#47951
From: DaZZa
Date: Thu, 24 Dec 1998 00:00
29 lines
1735 bytes
On Wed, 23 Dec 1998, Eddie Chiu wrote:

>       My Linux server got hacked. I can not login as root or anyone but I
> can FTP in to server.
>        Does anyone know how to recovery from this kind of the situation ?
>     Please help and send email to me.

Assuming you have your original boot disks, or a rescue disk.

Boot to the rescue disk, mount your hard disk somewhere, change to the
/etc directory on your hard disk, and copy the file passwd to passwd.org
or something similar.

Then use an editor to remove ALL accounts listed below the root account,
and edit the password field on the root account until it has nothing in
it.

Shutdown and reboot. You'll be able to logon as root and restore your old
passwd file, then reset your root password.

If you only have your original install disks, then you'll have to boot up
as if you intended to install - then toggle to another console {alt-F3, I
think, depending on distribution}, and follow the proceedure above.

If you do it this way, do NOT allow the installation to complete. Once
you've edited the passwd file, type sync a couple of times to flush any
cached information, and simple hit the reset button.

DaZZa
Technical Details
Message-ID: <Pine.LNX.3.95.981224132057.28154A-100000@zipper.zip.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36819633.0@newsread.exodus.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,d6d25b8176cfa63d
X-Google-Attributes: gid102983,public
From: DaZZa <dazza@zipper.zip.com.au>
Subject: Re: Can login the Linux anymore
Date: 1998/12/24
Message-ID: <Pine.LNX.3.95.981224132057.28154A-100000@zipper.zip.com.au>
X-Deja-AN: 425377641
References: <36819633.0@newsread.exodus.net>
To: Eddie Chiu <edchiu@winteractive.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII
Organization: The Zipsters
Mime-Version: 1.0
Newsgroups: aus.computers.linux