update documentation for -q flag
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@199 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
99e9e4997b
commit
31ca4349ce
11
README
11
README
|
@ -77,14 +77,14 @@ service telnet
|
||||||
wait = no
|
wait = no
|
||||||
user = root
|
user = root
|
||||||
server = /usr/sbin/in.telnetd
|
server = /usr/sbin/in.telnetd
|
||||||
server_args = -h -L /opt/nethack/nethack.dtype.org/dgamelaunch /etc/dgamelaunch.conf
|
server_args = -h -L /opt/nethack/nethack.dtype.org/dgamelaunch -q /etc/dgamelaunch.conf
|
||||||
rlimit_cpu = 3600
|
rlimit_cpu = 3600
|
||||||
bind = 64.71.163.206
|
bind = 64.71.163.206
|
||||||
}
|
}
|
||||||
|
|
||||||
A classic inetd line would look like this:
|
A 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 /etc/dgamelaunch.conf
|
telnet stream tcp nowait root.root /usr/sbin/tcpd /usr/sbin/in.telnetd -h -L /usr/sbin/dgamelaunch -q /etc/dgamelaunch.conf
|
||||||
|
|
||||||
In both cases, the -L specifies an alternate login program (telnetlogin is
|
In both cases, the -L specifies an alternate login program (telnetlogin is
|
||||||
invoked by default) and -h prevents revealing of a login banner (for
|
invoked by default) and -h prevents revealing of a login banner (for
|
||||||
|
@ -95,11 +95,16 @@ It goes without saying that the argument after -L must point to dgamelaunch's
|
||||||
exact location. Also, the location of dgamelaunch.conf is variable and of
|
exact location. Also, the location of dgamelaunch.conf is variable and of
|
||||||
course should be customized by you.
|
course should be customized by you.
|
||||||
|
|
||||||
It appears that the -L option is not very widely supported. FreeBSD's
|
NOTE: It appears that the -L option is not very widely supported. FreeBSD's
|
||||||
telnetd uses -p instead, and you can't give arguments (arguments appropriate
|
telnetd uses -p instead, and you can't give arguments (arguments appropriate
|
||||||
to standard login are used), so it's necessary to start a shell script from
|
to standard login are used), so it's necessary to start a shell script from
|
||||||
it. Some other telnetds do not support anything like this at all.
|
it. Some other telnetds do not support anything like this at all.
|
||||||
|
|
||||||
|
For dgamelaunch, the -q option will silence errors pertaining to the server
|
||||||
|
configuration. This is recommended for use within inetd to prevent spamming
|
||||||
|
the clients, but when testing and setting up we strongly suggest you leave it
|
||||||
|
off until running dgamelaunch produces no error output on stderr.
|
||||||
|
|
||||||
5) Test your compilation of dgamelaunch by running it as root. If this
|
5) Test your compilation of dgamelaunch by running it as root. If this
|
||||||
works, a shell login or (x)inetd will work with the correct configuration.
|
works, a shell login or (x)inetd will work with the correct configuration.
|
||||||
If you have problems with dgamelaunch's display make sure that your chroot's
|
If you have problems with dgamelaunch's display make sure that your chroot's
|
||||||
|
|
Loading…
Reference in New Issue