This HOWTO is based on the following software:
RedHat 7.3
EleBBS 0.09g1
First, the steps involved in installing EleBBS
1) Download EleBBS
2) Unzip to a temporary directory
Ensure you unzip using lowercase names (ie: unzip -L)
3) Read install.lin
4) Execute install.sh (ie: bash install.sh)
EleBBS should now be installed and fully functional.
The next steps make it telnettable using xinetd
5) Create the group and user to run EleBBS from
groupadd -g 501 bbs
useradd -d /home/ele -g 501 -s /home/ele/runele -u 501 bbs
6) Edit /etc/xinetd.d/telnet
Take note of the user, server_args and disable lines
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = bbs
server = /usr/sbin/in.telnetd
server_args = -h -L /home/ele/runele
log_on_failure += USERID
disable = no
}
7) Edit /home/ele/runele (the file should not exist yet)
Copy/Paste the following lines into this file:
#!/bin/sh
export ELEBBS="/home/ele"
chown -R bbs.bbs $ELEBBS
cd $ELEBBS
exec $ELEBBS/elebbs -B115200 -C1 -N-1
8) Make the above file executable
chmod ugo+x /home/ele/runele
9) Change the ownership of /home/ele
chown -R bbs.bbs /home/ele
10) Restart xinetd for changes to take effect
killall -HUP xinetd
Now you should be all set to accept inbound telnet connections!
As a side note, I guess I should point out that I know next to
nothing about Linux. As such, there may be better/easier ways
to do some of this stuff. This is just what works for me.