From 1653b2ef8e260701d32ea32101f6ef063923c70c Mon Sep 17 00:00:00 2001 From: Joshua Kwan Date: Sat, 3 Jan 2004 02:10:23 +0000 Subject: [PATCH] add a sample 'classic' inetd line git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@48 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- README | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README b/README index 53a1f60..c1f4934 100644 --- a/README +++ b/README @@ -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. -- 2.47.3