Path: number1.nntp.dca.giganews.com!local01.nntp.dca.giganews.com!nntp.adelphia.com!news.adelphia.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 26 Oct 2005 21:24:34 -0500
Newsgroups: fidonet.muffin
From: David_Nyquist@f2000.n106.z1
Date: Mon, 24 Oct 2005 18:21:26 -0400
Subject: Setup Max under xinetd
Message-ID:
Organization: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671
124/5009 5025
3634/12
Lines: 58
NNTP-Posting-Host: 24.48.121.215
properly
Xref: number1.nntp.dca.giganews.com fidonet.muffin:47
Hi,
I have included the steps and the configurations I used to get Maximus to work
under xinetd. You can use these configurations to your hearts content.
-------------------------------------------------------------------------------
Some Linux distros no longer have inetd support. It is replaced by
xinetd.
In order to set Maximus to be used with xinetd you must add and modify
the files below.
In most cases with ISP's port 23 is shutdown to prevent hackers from
hacking into the server. In order to get around that you must choose
a differnt port to put Maximus on. I chose port 2323 for simplicity.
Add these 2 lines to your /etc/services file.
max-bbs 2323/tcp # Maximus
max-bbs 2323/udp # Maximus
Create a new file in the /etc/xinetd.d directory called max-bbs. Then
put the following lines into that file.
service max-bbs
{
disable = no
flags = REUSE NAMEINARGS
socket_type = stream
wait = no
user = root
server = /usr/sbin/tcpd
server_args = /usr/sbin/in.runmax
instances = 4
env = PATH=/bin:/sbin:/usr/bin:/usr/sbin
}
Issue the following command to create a symbolic link to
/usr/sbin/in.runmax
ln -s /opt/max/bin/runrun.sh /usr/sbin/in.runmax
Restart the xinetd service by issueing the following command.
service xinetd restart
Issue the next command for /opt/max/bin/runrun.sh.
chmod +t /opt/max/bin/runrun.sh
Then try it out.
telnet localhost 2323
You should be able to see the Maximus welcome screen and then
be ablle to log in.
-------------------------------------------------------------------------------
|