473,407 Members | 2,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Reset unknown root password

This is stupid I know. In my fumbling around with mySQL and phpMyAdmin an
internet intruder has gone and set a password unknown to me.
Incredibly, I was only online for 3 hours when this happened and I spotted
it on a log.

I replaced the mySQL folder and updated the version but I still can't log
in.

Will one of you Gurus tell me how to just dump everything and start over?

Thank you

Ver 8.40 Distrib 4.0.20, for apple-darwin7.3.0
-- Gnarlie
http://www.Gnarlodious.com/

Jul 20 '05 #1
2 2163
Gnarlodious wrote:
This is stupid I know. In my fumbling around with mySQL and phpMyAdmin an
internet intruder has gone and set a password unknown to me.
Incredibly, I was only online for 3 hours when this happened and I spotted
it on a log.


Resetting the root password is not enough, the intruder might have set
other accounts for him/her/it -self, so you would need to remove all
user accounts, and change all passwords.

And are you sure the database is only that got hurt? It is common for
intruders to open few backdoors for them to use later. How did the
intruder get it? What else might be infected? Did you have a root
account for remote logins, but without a password?
http://dev.mysql.com/doc/mysql/en/Re...rmissions.html
Jul 20 '05 #2
Entity Aggro spoke thus:
Gnarlodious wrote:
This is stupid I know. In my fumbling around with mySQL and phpMyAdmin an
internet intruder has gone and set a password unknown to me.
Incredibly, I was only online for 3 hours when this happened and I spotted
it on a log.
Resetting the root password is not enough, the intruder might have set
other accounts for him/her/it -self, so you would need to remove all
user accounts, and change all passwords.

I think I'm safe since the logs showed no other invasive activity at the
time (4 months ago).

No unknown user as shown up in NetInfo either.
And are you sure the database is only that got hurt? It is common for
intruders to open few backdoors for them to use later. How did the
intruder get it? Through phpMyAdmin, which is open to the world by default. In any case, I'm
on a dynamic IP so I'm a moving target.
What else might be infected? Did you have a root
account for remote logins, but without a password? MySQL is running well on my laptop, but it's not the server. I may be doing
this wrong but I'm saying:
mysql-h 192.168.2.1 -uroot -p

but all I get is a 5 minute timeout with error:

ERROR 2003: Can't connect to MySQL server on '192.168.2.1'.
http://dev.mysql.com/doc/mysql/en/Re...rmissions.html

Thanks, I'll study that tomorrow.
-- Gnarlie
http://www.Gnarlodious.com/Cogent/Cogent.html

Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ian | last post by:
Hi I know there are products out there that can do this like http://www.psynch.com/technology/ska.html What is the code that is used to Reset a Users password so the next time they logon to...
5
by: MLH | last post by:
I'm supposed to set a password for the MySQL root user. The output of mysql_install_db instructed me to run the following commands... /usr/bin/mysqladmin -u root -h appserver password mynwewpasswd...
0
by: serkan | last post by:
Guys, I am trying to get this password reset functionality wor for me but I am not successful at all. Please somebody help me. I get "Your password could not be reset - please try again later" so I...
0
by: damontimm | last post by:
My setup: Mac OS 10.4.4; mysql 4.x ... everything was installed and working fine for some time. Today, I added drupal to my system and had to create a new database in mysql -- now I am having some...
7
by: rajbala.3399 | last post by:
Hi , I want to download sql in my linux system........... # rpm -ivh MySQL-server-5.0.24a-0.glibc23.i386.rpm MySQL-cl ient-5.0.24a-0.glibc23.i386.rpm Preparing... ...
6
by: jarice1978 | last post by:
Hello, I have been scanning the internet for a few days now. That is not working. So now it is time to post! I have read a few other posts on here about authentication but they do not match...
2
by: DarthPeePee | last post by:
Hello everyone. I am working on a Password Strength Meter and I am running into 1 problem that I would like to fix. When pressing the "Clear Password & Try Again" button, the password clears...
3
by: randeeparora | last post by:
Guys, I desperately need some help here. I have lost my root password and I am unable to login in. Every time on the CL prompt I am asked for a password and I obviuosly can't get through. I also...
2
by: ivytony | last post by:
First of all, I'm not sure if I've set up root password for MySQL server or not. I was following this tutorial http://www.howtoforge.com/centos-5.1-server-lamp-email-dns-ftp-ispconfig-p4 to install...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.