Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::Tutorials/Howto's > Tutorials--Outdated Use the Wiki > Tutorials::Discussion

Tutorials::Discussion Discuss Tutorials here. Do NOT POST tutorials here, they belong on the wiki.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-26-2004, 11:33 PM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default HOWTO: Secure a UNIX EQEmu Server

here is my guide:
an HTML version is here: http://eqemu.psend.com/security.html
Please post corrections, comments, success, etc...

[code]
Steps to help secure an EQEmu UNIX server:

The directory structure given here is just example, I put mine in /usr, you could use /home, or whatever. Put it wherever you want, and rearrange it however you want. The important part is what exists where, and with what permissions.

1.
Download and install daemontools. However makes you happy, just get it.

2.
Find a home for the server runtime.
Make a directory to run the server on. This should be owned by root.
mkdir /usr/eqemu
chown 0:0 /usr/eqemu

3.
Make an unprivileged user to run the emulator as. This user should have no password, no valid shell, and a home directory of the one created above.
FreeBSD: pw useradd eqemu
Reply With Quote
  #2  
Old 08-27-2004, 01:02 PM
RangerDown
Demi-God
 
Join Date: Mar 2004
Posts: 1,066
Default

Much appreciated FN!!
__________________
<idleRPG> Rogean ate a plate of discounted, day-old sushi. This terrible calamity has slowed them 0 days, 15:13:51 from level 48.
Reply With Quote
  #3  
Old 12-11-2004, 08:21 PM
a_Guest03
Demi-God
 
Join Date: Jun 2002
Posts: 1,693
Default

The little boxes in the guide are supposed to be minus (-)

chown -R
etc.

Just in case anyone with linux has questions.
__________________
It's never too late to be something great.
Reply With Quote
  #4  
Old 12-12-2004, 06:09 AM
RangerDown
Demi-God
 
Join Date: Mar 2004
Posts: 1,066
Default

It looks like some of the apostrophes you used to quote came out as ?.

Quote:
Making the assumption that your DB is named ?eq' and you want to access it with the user ?eqemu' with the password ?pass'. To be a little better, you can replace the % below with your eqemu server's OUTGOING IP address when talking to the mysql server, ?localhost' if it is the same machine.
with that said, connect to your mysql server as root:
mysql -u root -p -h hostname #(or whatever you use)
run:
GRANT all ON eq.* TO eqemu@'%' IDENTIFIED BY ?pass'
A terrific tutorial tho!
__________________
<idleRPG> Rogean ate a plate of discounted, day-old sushi. This terrible calamity has slowed them 0 days, 15:13:51 from level 48.
Reply With Quote
  #5  
Old 12-12-2004, 06:39 AM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

theres a few things that ended up as blocks... thanks to word... I still recommend reading the HTML version anyways, it looks better and dosent have these problems.
Reply With Quote
  #6  
Old 12-14-2004, 01:47 PM
a_Guest03
Demi-God
 
Join Date: Jun 2002
Posts: 1,693
Default

FNW, you must know that this is a good tutorial, so you just get a gold star (you don't need to be a tutor/etc.)
__________________
It's never too late to be something great.
Reply With Quote
Reply


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 -4. The time now is 09:49 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3