home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / bsd / 11757 < prev    next >
Encoding:
Text File  |  1993-01-24  |  2.5 KB  |  54 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!gatech!usenet.ins.cwru.edu!agate!dog.ee.lbl.gov!hellgate.utah.edu!fcom.cc.utah.edu!cs.weber.edu!terry
  3. From: terry@cs.weber.edu (A Wizard of Earth C)
  4. Subject: Re: telnetd without login check
  5. Message-ID: <1993Jan24.003430.12759@fcom.cc.utah.edu>
  6. Sender: news@fcom.cc.utah.edu
  7. Organization: Weber State University  (Ogden, UT)
  8. References: <br.pct.13.727678893@RLG.Stanford.EDU>
  9. Date: Sun, 24 Jan 93 00:34:30 GMT
  10. Lines: 42
  11.  
  12. In article <br.pct.13.727678893@RLG.Stanford.EDU> br.pct@RLG.Stanford.EDU (PCT) writes:
  13. >
  14. >Hi,
  15. >
  16. >  I have a special situation where I want to have the 386/Sun Sparc-2 
  17. >running 386BSD/SunOS 4.1.1 to be a telnet server front end to a mainframe 
  18. >telnet server.But I only want to login once, so I have to find out how to 
  19. >disable loginbanner & all from the front end telnet server, so that the 
  20. >telnet connectiongoes all the way thru, then the mainframe generate a login 
  21. >banner instead.
  22. >
  23. >  Is it possible in 386BSD? Without getting the telnetD code & hack it, 
  24. >by just  fixing the inetd.conf to run telnetD with -a none or ttytab or 
  25. >whatever?
  26.  
  27. Nope.  You have to hack telnetd.  The best way to do this would be to hack
  28. it to take arguments of what to run, and a flag to determine if you need to
  29. run code that you will steal from rlogind as well (ie: the device setup
  30. normally done by login).  This will let you run bbs software or any other
  31. software you want to by specifying a line in /etc/inetd.conf with your
  32. new telnetd with it's arguments.  For backward compatability, the lack
  33. of arguments should cause it to run as it currently does.
  34.  
  35. An alternative might be to get the "socket" code ("socket" is a program to
  36. allow shell-level manipulation of sockets) and put it on the port you will
  37. telnet to for this service.  This assumes that you aren't running the old
  38. telnet code on the originator or the old telnetd code on the target, and
  39. that the target is always a telnetd.  If this is the case, then options
  40. negotiations can ake place normally; otherwise they will fail.
  41.  
  42.  
  43.                     Terry Lambert
  44.                     terry@icarus.weber.edu
  45.                     terry_lambert@novell.com
  46. ---
  47. Any opinions in this posting are my own and not those of my present
  48. or previous employers.
  49. -- 
  50. -------------------------------------------------------------------------------
  51.                                         "I have an 8 user poetic license" - me
  52.  Get the 386bsd FAQ from agate.berkeley.edu:/pub/386BSD/386bsd-0.1/unofficial
  53. -------------------------------------------------------------------------------
  54.