Want telnetd to execute different program than default (/bin/login)

From: wb0gaz (wb0gaz_at_hotmail.com)
Date: 10/23/04


Date: 23 Oct 2004 11:00:24 -0700

I would like my fedora core 1 system to execute a program other than
/bin/login when accepting an incoming session.

When I change the entry in /etc/xinetd.d/telnet to furnish the command
line parameter I believe is needed to execute a program other than
/bin/login (based on telnetd manpage), I get an error message in
/var/log/messages telling me that the parameter can only have one
entry.

Current entry in /etc/xinetd.d/telnet is as follows:

server = /usr/sbin/in.telnetd

When I tried changing it to

server = /usr/sbin/in.telnetd -L /someotherprogram

I got this error message:

xinetd[15352]: attribute server expects 1 values and 3 values were
specified [file=/etc/xinetd.d/telnet] [line=10]

I tried enclosing the server argument in quotes:

server = "/usr/sbin/in.telnetd -L /someotherprogram"

and that did not succeed.

It appears that telnetd behavior cannot be controlled by a ".rc" file
or environment variables, only command line parameters.

I would appreciate a pointer in the right direction.

Tks,

wb0gaz@hotmail.com



Relevant Pages

  • Re: Error Message before Logon Screen
    ... >> Doesn't seem to affect server performance, ... >(System File Checker) to confirm the integrity of this file. ... with that exact error message anywhere. ... Application popup: spoolsv.exe - Entry Point Not Found: The procedure ...
    (microsoft.public.win2000.general)
  • Re: ConnectComputer error log
    ... "The following entry in the [strings] section is too long and has been ... truncated" error message when you try to modify or to view GPOs in Windows ... Server 2003, Windows XP Professional, or Windows 2000 ...
    (microsoft.public.windows.server.sbs)
  • DTS to start a VB job on another server
    ... When an entry is done on a table that has a trigger tied ... resides on another server. ... with the Execute Process task property. ...
    (microsoft.public.sqlserver.server)
  • Dynadraw shows error "node is not responding"
    ... i'm sitting in front of a windows xp machine with dynadraw installed. ... when i try to execute the application i get an error message "server ...
    (comp.sys.sgi.misc)
  • Re: integrated Secure
    ... It would seem that the worker process is authenticating with the Network Service Login. ... That's what I've noticed on 2003 Server. ... > and I have execute sp_grantlogin 'ServerName\ASPNET' in Sql Query Analyzer ... > The error message is 'NT AUTHORITY\NETWORK SERVICE' ...
    (microsoft.public.dotnet.framework.adonet)