Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 16.03.2006, 23:59   #1
xerogen
Архивный участник
 
Join Date: Nov 2005
Posts: 107
Default [Share] SQL Telnet Crash Fix

Basically awhile back i had a problem with a certian someone logging into the servers CacheD from Telnet and a port, and running an SQL command to shut down the SQL (basically turn off sql why servers running).

srh helped me with the problem but i thought id post it in full and clear best i can for anyone else having this problem . If someone has posted this before im sorry just please delete mine, i have searched around when i had problem and couldnt find anything though.

K basically as explained u can shut down SQL from telnetting a port on cacheD. (which i dont think u can block by firewall O.o *never worked for me*)

they use a command like:
*SELECT uid FROM user_account WITH (NOLOCK) WHERE account=''shutdown--'*

Which basically makes it go kaput .

The fix:
Open Enterprise Manager
Open (LOCAL)(WINDOWS NT)
GOTO Security
LOGINS
RIGHT CLICK IN RIGHT WINDOW
New Login
Give it a name.
GIVE IT SQL SERVER AUTH
GIVE IT A PASSWORD (Different from SA Login *or ur default one*)
Click server Roles Tab
Give it ONLY BULK INSERT ADMIN (Tick the box)
In Database Access tab put a Tick in lin2db & lin2world
when u click on them, in the box at the bottam make sure it has public and DBOwner, BOTH OF them.
Hit ok and close down enterprise.

When u start up CacheD again, put the new username and password in.
This will stop cock goblins shutting down ur SQL

If you cant put a new username and password on cacheD because of your old one. Simply change ur Current password
(SA User) *or w/e u use* then it will ask for a new user and pass on authd/cacheD/l2server/l2npc

Only use the NEWLY created login with no rights on the CacheD.

This will fix everything

I basically noted that down very quickly in notepad for here. It basically makes it so your CacheD cant do any SQL commands.

I posted this to help people who dont know about it already, so all u intelligent know it all leave it be .

Also thanks for all the help on the forums alot of people have givin me and all the great shares, i always wanted to give somet backbut seems everyone beats me to the punch ;p. So this is all i got for now .

Hope it helps.
xerogen is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 22:05.