in.telnetd -L /bin/whatever

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 ...


Go Back   Usenet Forums > Linux Forums > Linux Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-06-2004
Stuart Kendrick
 
Posts: n/a
Default in.telnetd -L /bin/whatever

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:53 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0