delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/24/15:31:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <63D8F97C6315D411B078009027612DD30C27DB37@axcs11.cos.agilent.com>
From: xiaoqin_qiu AT agilent DOT com
To: cygwin AT cygwin DOT com
Subject: RE: Inetd question
Date: Thu, 24 Jul 2003 13:29:49 -0600
MIME-Version: 1.0

Hi Rob,

Thank you for your response.

1) I already set CYGWIN = ntsec. Rebooted a couple of times and made sure that when I opened bash and echo $CYGWIN. I even tried "ntsec tty" combination. But still it didn't work.

2) I used mkpasswd -l and appended to it my domain account entry created during installation with a little change with UID of my account because the original one had unknown user error for bash. I also checked SID field in passwd file for my login account and it matched registry. I didn't run mkpasswd -d because the domain is too big that it is going to take forever.

For an earlier version of CYGWIN, telnet worked for me although it was super slow. And inetd could run as SYSTEM when I setup the inetd service to start as local system account. But after I removed the old version and installed this new version, telnet stopped working.

Any more suggestions?

Thanks,

Xiaoqin Qiu
Technical Computing Group
IT Infrastructure Services Organization
Agilent Technologies, Inc.
(818)879-6220
xiaoqin_qiu AT agilent DOT com
 

-----Original Message-----
From: Rob [mailto:rob2 AT siklos DOT ca]
Sent: Thursday, July 24, 2003 12:20 PM
To: cygwin AT cygwin DOT com
Cc: xiaoqin_qiu AT agilent DOT com
Subject: Re: Inetd question


Hi Xiaoqin,

I'm no expert, but here's what comes to mind...

1) what is the value of your CYGWIN environment variable?  If it's not
CYGWIN=NTSEC, then make this the case and then restart your computer (so the
setting will take effect in the windows service mangler).

2) how did you recreate the passwd and group files?  did you use -d to get
credentials for your domain account/groups, and then do it again (appending)
to get credentials for your local accounts/groups?

Rob

----- Original Message ----- 
From: <xiaoqin_qiu AT agilent DOT com>
To: <cygwin AT cygwin DOT com>
Sent: Thursday, July 24, 2003 2:54 PM
Subject: Inetd question


> Hi,
>
> I installed the latest cygwin and inetd-1.3.23 on my W2K PC to my account
only recently. Initially after installation, I got id unknown error. But I
fixed it by checking the mailing list and changed my login ID in /etc/passwd
file to the it said unknown then I could run bash with no problem.
>
> However, when I tried to make inetd working so that I could telnet to this
PC, and encountered the following problems.
>
> 1) When I setup inetd running as a service using local system account, it
started with no error but when I telnet to it, I got "Connection refused"
error. I ran "ps -ef|grep inetd", UID showed up as 400 not SYSTEM. (SYSTEM
is using UID 18).
>
> 2) My account is a domain account but it is part of local admin group, so
I tried to start inetd service using my account. This time after the service
started successfully, I could get login prompt, however whatever password I
put in, I always got "Login incorrect" error.
>
> I tried recreating /etc/passwd, /etc/group files which was created
automatically by the installation, checking /etc/inetd.conf which has telnet
starting as root there. But I still got the same problem. I didn't find any
helpful log in the event log either.
>
> Anyone experienced the similar problem before?
>
> BTW, I didn't find syslogd on my cygwin installation. Which package is it
in?
>
> Thank you very much for your help!
>
> Xiaoqin Qiu
>
> --
> 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/

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019