This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Inetd question

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?


Xiaoqin Qiu
Technical Computing Group
IT Infrastructure Services Organization
Agilent Technologies, Inc.

-----Original Message-----
From: Rob []
Sent: Thursday, July 24, 2003 12:20 PM
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?


----- Original Message ----- 
From: <>
To: <>
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
> Thank you very much for your help!
> Xiaoqin Qiu
> --
> Unsubscribe info:
> Problem reports:
> Documentation:
> FAQ:         

Unsubscribe info:
Problem reports:

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]