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:
parent
ede90e71bd
commit
1653b2ef8e
10
README
10
README
|
@ -76,11 +76,19 @@ service telnet
|
||||||
wait = no
|
wait = no
|
||||||
user = root
|
user = root
|
||||||
server = /usr/sbin/in.telnetd
|
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
|
rlimit_cpu = 3600
|
||||||
bind = 64.71.163.206
|
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
|
6) Populate /chrootdir/etc/terminfo with terminfo files. I think that most
|
||||||
modern ncurses will default to terminfo when it is available. Mine seemed
|
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.
|
to. This also makes it easy to add term types on the fly.
|
||||||
|
|
Loading…
Reference in New Issue