Inetd question

xiaoqin_qiu@agilent.com xiaoqin_qiu@agilent.com
Thu Jul 24 20:09:00 GMT 2003


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@agilent.com
 

-----Original Message-----
From: Rob [mailto:rob2@siklos.ca]
Sent: Thursday, July 24, 2003 12:20 PM
To: cygwin@cygwin.com
Cc: xiaoqin_qiu@agilent.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@agilent.com>
To: <cygwin@cygwin.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/



More information about the Cygwin mailing list