Subject: RE: Has ANYONE got telnet via xinetd working on 2000 *SERVER*?? ( or 2003)
From: Vince Hoffman <[email-masked]>
To: "[email-masked]'" <[email-masked]>, Vince Hoffman <[email-masked]>
Cc: [email-masked]
Date: Wed, 6 Aug 2003 16:32:29 +0100

> 
> 
> WOW! Thanks dude! You're my hero! YES - I would *GREATLY* appreciate:
> 
>       "edit to make appropriate to xinetd  (available on request)"
> 
> So I am hereby *requesting* it  :-)
> 
as requested (find attached)
its probably not a tidy as could be as i just ripped out the ssh specific
bits,
did 
%s/sshd/xinetd/g
%s/SSHD/XINETD/g
so.... remembering i did actualy have access to a redhat box using linux box
using xinetd, find attached also, xinet.rh which is the redhat one with
linux specific stuff cut out (checking for root user etc.) havent tested
that one but it should work.

hope this is enough to get yours working.

On a side note, i originaly tried to use just xinetd as a service but
realised there is no option to stop it forking to background so while it
worked, you couldnt stop it without killing it from a command line/task
manager :(.

> It still *seems* like I did everything here (and more than 
> once I might
> add) - and that
> I *should* have got it working. Of course I will start fresh 
> and follow
> your instructions
> *to the letter* and then backstep to see why I wasn't able to get it
> working on my own.
> 
> The one thing of course that I would never have thought to do 
> would be to
> copy
> and modify sshd to xinetd. Not exactly *intuitive*! I'll be 
> anxious to see
> if this was
> indeed the one indispensible thing I needed to do.
> 
> Again - appreciate all the assistance. I need xinetd to 
> maximize security
> until we can
> get secure shell working from the mainframe (don't hold your breath!).
> 
> Ah well, some folks just like liv'in in the past!
> 
> Brian Kelly
> 
> 
> 
> 
> 
> 
> "Vince Hoffman" <[email-masked]> on 08/06/2003 
> 08:41:38 AM
> 
> To:    "[email-masked]'" <[email-masked]>,
>        [email-masked]
> cc:
> 
> Subject:    RE: Has ANYONE got telnet via xinetd working on 
> 2000 *SERVER*??
>        ( or 2003)
> 
> 
> had time to try this today, works fine.
> steps were,
> 1) clean install included inetutils, xinetd, sysvinit ,chkconfig and
> initscripts (and vim but whatever editor you like ;)
> 2) run /usr/bin/init-config, NOT overwriting any config files, just to
> install init as a service.
> 3) copy /etc/rc.d/init.d/sshd to /etc/rc.d/init.d/xinetd and 
> edit to make
> appropriate to xinetd (available on request)
> 
> 4) cd /etc/rc.d/init.d  then /usr/sbin/chkconfig --add xinetd
> 
> 5) net stop init net then net start init
> 
> 6)
> $ telnet localhost
> Trying 127.0.0.1...
> Connected to GENBRIDEVINT1.uk.circle.com.
> Escape character is '^]'.
> 
> CYGWIN_NT-5.0 1.3.22(0.78/3/2) (GENBRIDEVINT1) (tty0)
> 
> login: administrator
> Password:
> Fanfare!!!
> You are successfully logged in to this server!!!
> 
> Administrator@GENBRIDEVINT1 ~
> $ ps -e
>       PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
>      1684       1    1684       1684  con  500 13:25:25 /usr/bin/bash
>      2076       1    2076       2076    ?   18 13:33:22 
> /usr/bin/cygrunsrv
>      1992    2076    1992       2016    ?   18 13:33:22 /sbin/init
>      1756       1    1756       1756    ?   18 13:33:23 
> /usr/sbin/xinetd
>      1952    1684    1952        508  con  500 13:39:57 
> /usr/bin/telnet
>      1824    1756    1824       1016    ?   18 13:39:58
>      /usr/sbin/in.telnetd
>      1804    1824    1804       1560    0  500 13:40:11 /usr/bin/bash
>      2276    1804    2276       2288    0  500 13:40:49 /usr/bin/ps
> 
> Administrator@GENBRIDEVINT1 ~
> $
> 
> 
> 
> Hope this helps.
> 
> 
> > -----Original Message-----
> > From: [email-masked] [mailto:[email-masked]]
> > Sent: 06 August 2003 01:28
> > To: [email-masked]
> > Subject: Has ANYONE got telnet via xinetd working on 2000
> > *SERVER*?? (or
> > 2003)
> >
> >
> > I've got invested about seven to eight total hours trying to get it
> > working, plowing past
> > one issue after another. I finally get a login prompt, but I can't
> > authenticate with ANY ID,
> > local or domain. Inetd on the other hand, works perfectly. I
> > read folks had
> > trouble getting
> > similiar stuff working on 2003 Server. Could it be that 2000
> > server and
> > 2003 server really
> > aren't all that different??
> >
> > Anyway, before I saddle you guys with "stuff", I thought I'd
> > first ask if
> > *anyone* is using
> > it successfully on 2000 *Server*.
> >
> > Brian Kelly
> >
> >
> >
> >
> > "WellChoice, Inc." made the following
> >  annotations on 08/05/2003 08:29:55 PM
> > --------------------------------------------------------------
> > ----------------
> > Attention!  This electronic message contains information that
> > may be legally
> > confidential and/or privileged.  The information is intended
> > solely for the
> > individual or entity named above and access by anyone else is
> > unauthorized.
> > If you are not the intended recipient, any disclosure,
> > copying, distribution,
> > or use of the contents of this information is prohibited and
> > may be unlawful.
> > If you have received this electronic transmission in error,
> > please reply
> > immediately to the sender that you have received the message
> > in error, and
> > delete it. Release/Disclosure Statement
> >
> >
> > --
> > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> > Problem reports:       http://cygwin.com/problems.html
> > Documentation:         http://cygwin.com/docs.html
> > FAQ:                   http://cygwin.com/faq/
> >
> 
> 
> 
> 
> 
> 
> 
> "WellChoice, Inc." made the following
>  annotations on 08/06/2003 10:52:38 AM
> --------------------------------------------------------------
> ----------------
> Attention!  This electronic message contains information that 
> may be legally
> confidential and/or privileged.  The information is intended 
> solely for the
> individual or entity named above and access by anyone else is 
> unauthorized.
> If you are not the intended recipient, any disclosure, 
> copying, distribution,
> or use of the contents of this information is prohibited and 
> may be unlawful.
> If you have received this electronic transmission in error, 
> please reply
> immediately to the sender that you have received the message 
> in error, and
> delete it. Release/Disclosure Statement
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/