]> skyeroc.xyz Git - dgamelaunch/commitdiff
add a sample 'classic' inetd line
authorJoshua Kwan <joshk@triplehelix.org>
Sat, 3 Jan 2004 02:10:23 +0000 (02:10 +0000)
committerJoshua Kwan <joshk@triplehelix.org>
Sat, 3 Jan 2004 02:10:23 +0000 (02:10 +0000)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@48 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

README

diff --git a/README b/README
index 53a1f605acb1c2570483833df0ca7f058069314e..c1f493476753f7f6ff3a185f79a4be6ab8cd71c4 100644 (file)
--- 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.