TIP: Click on subject to list as thread! ANSI
echo: muffin
to: All
from: David Nyquist
date: 2005-10-24 22:21:26
subject: Setup Max under xinetd

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.
-------------------------------------------------------------------------------

--- Maximus/2 3.01
* Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000)
SEEN-BY: 3/0 633/267 640/954 712/0 313 550 620 848
@PATH: 106/2000 140/1 138/146 392 123/500 261/38 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.