473,412 Members | 2,075 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,412 software developers and data experts.

How to delete guest user

Hi all. I have MySQL 4.0.18 and phpMyAdmin running on a FreeBSD box.
The other day a student told me he logged on to my phpMyAdmin by
specifying "guest" as the user and no password. I don't have a guest
user in my user table and can't seem to find any documentation on how
to disable this. It makes me a little nervous.

Ted
Jul 20 '05 #1
2 5264
Ted Ward wrote:
Hi all. I have MySQL 4.0.18 and phpMyAdmin running on a FreeBSD box.
The other day a student told me he logged on to my phpMyAdmin by
specifying "guest" as the user and no password. I don't have a guest
user in my user table and can't seem to find any documentation on how
to disable this. It makes me a little nervous.


Did he log in from remote or local location? The "guest" is a actually a
user with no username at all, you should find that. You could use any
username with no password to do the same, and that is by default allowed
from local machine only.
Jul 20 '05 #2
Ted Ward wrote:
Hi all. I have MySQL 4.0.18 and phpMyAdmin running on a FreeBSD box.
The other day a student told me he logged on to my phpMyAdmin by
specifying "guest" as the user and no password. I don't have a guest
user in my user table and can't seem to find any documentation on how
to disable this. It makes me a little nervous.

Ted


MySQL installs with a few security flaws, one of them is anonymous
accounts. Try deleting all your anonymous accounts.

use mysql;
delete from user where User='';
delete from db where User='';
flush privileges;
Then test using the guest account.

Hope this helps,

David G.
Jul 20 '05 #3

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

Similar topics

1
by: sumon | last post by:
hi , I want to create a guest book using php .It includes name ,email,comments field . But if name is like ab'hh or comment has " ..then it creates problem .. I want to know is there any function...
1
by: Audrey2 | last post by:
Nel database "master" ho mappato, per errore, l'utente "guest" su un utente sql "XXX" creato in SQLServer. Questo tipo di impostazione non permette più di aver accesso con l'utente anonimo "guest"...
0
by: Dr. Strangedub | last post by:
I am looking for information on changing a configured Direct Connection (that uses RAS via serial port) via a C# Windows program. I want to change back and forth between Host and Guest (i.e.,...
1
by: Florimond | last post by:
Can I use osql to known the database install on a server via 'guest' account ? I had over 300 servers with sql server all around France (different version : 6.5, 7 and 8) I need to check all...
0
by: Jan Rank | last post by:
We have DB2 for VSE V7.3 and run 2 VSE guest sharing members. Does anyone know what we need to do to access our DB2 running on one VSE member in multiple user mode from the CICS partition of the...
2
by: JessyEzzy | last post by:
I want to have 2 types of accounts of which users can use to login through the site, either a user account that is created through registeration or login as a guest. I have no problem with the...
1
by: Tom C | last post by:
In the visual studio IDE, how do I delete a whole solution using Solution Explorer? I can delete the projects in the solution, but not the solution itself.
2
by: sqldba20 | last post by:
I am trying to get guest owned tables deleted from tempdb database if exists and which are created more than 8 or 9 hours ago. Is this possible as a query in sql 2000? Thanks !
0
by: Krishna | last post by:
I have no knowledge of MS SQL server or .net development. I have visual studio express installed on my system. I would like the guest account to be used to learn the development work. It seems...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.