add a sample 'classic' inetd line

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@48 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Joshua Kwan 2004-01-03 02:10:23 +00:00
parent ede90e71bd
commit 1653b2ef8e
1 changed files with 9 additions and 1 deletions

10
README
View File

@ -76,11 +76,19 @@ service telnet
wait = no
user = root
server = /usr/sbin/in.telnetd
server_args = -L /opt/nethack/nethack.dtype.org/dgamelaunch
server_args = -h -L /opt/nethack/nethack.dtype.org/dgamelaunch
rlimit_cpu = 3600
bind = 64.71.163.206
}
An classic inetd line would look like this
telnet stream tcp nowait root.root /usr/sbin/tcpd /usr/sbin/in.telnetd -h -L /usr/sbin/dgamelaunch
In both cases, the -L specifies an alternate login program (telnetlogin is
invoked by default) and -h prevents revealing of a login banner (for example,
"Debian GNU/Linux testing/unstable influx") before starting the login shell.
6) Populate /chrootdir/etc/terminfo with terminfo files. I think that most
modern ncurses will default to terminfo when it is available. Mine seemed
to. This also makes it easy to add term types on the fly.