This is a discussion on in.telnetd -L /bin/whatever within the Linux Administration forums, part of the Linux Forums category; hi, I want to resurrect in.telnetd to run a custom program on login ... but in.telnetd doesn't seem ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
hi,
I want to resurrect in.telnetd to run a custom program on login ... but in.telnetd doesn't seem to like using the "-L" option. Has anyone gotten this to work? SuSE 8.2 from /etc/xinetd.c/telnet: service telnet { socket_type = stream protocol = tcp wait = no user = root server = /usr/sbin/in.telnetd server_args = -L /bin/whatever } from syslog: 04/2/6@09:51:45: START: telnet from=140.107.74.123 04/2/6@09:51:45: EXIT: telnet status=2 duration=0(sec) Feb 6 09:51:45 vishnu in.telnetd: usage: telnetd [-debug] [-D (options|report|exercise|netdata|ptydata)] [-h] [-L login_program] [-n] [-u utmp_hostname_length] [-U] [port] I notice that the in.telnetd man page doesn't mention the "-L" option .... but then again, I know that other folks have done it (http://honor.trusecure.com/pipermail...er/011234.html). Any input appreciated. --sk Stuart Kendrick FHCRC |