This is the mail archive of the cygwin@cygwin.com 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: Cygwin Password handling and Inetd configuration


Nicholas,

It's great to get a quick reply, but it seems somewhat arrogant to stated "RTFM" and that 1.3.11-3 is "old news" -- especially since the 1.3.12-1 announcement says nothing about password or inetd fixes (perhaps this is a little joke ?) Yes, I HAVE read the documentation and the huge number of problems other users have had getting "login", "in.telnetd" or "in.ftpd" working for various accounts -- Administrator, anonymous, Guest, etc.

a) Much of the online documentation is out of date, and the recent (late July) recommendations for others to try options like "mkpasswd -u $USER" (also in http://cygwin.com/docs.html) aren't even supported, according to the utility. The -v option on mkpasswd reports it is tje current 1.20.

b) I've got the CYGWIN variable set to "netd" on my NT4 system. I've tried an installation on Win2K with similar problems.

c) I have home directories for all accounts, and done
"mkpassd -l > /etc/passwd" and "mkgroup -l > /etc/group" (these are the same, incidentally as what the default setup created.

d) Getting "clued in" as you say from the inetd documentation makes no sense, considering that inetd itself DOES work. I noted that the there is no discussion of port mapping -- it does not cover this topic at all. It seems /etc/services just isn't supported. Of course, I can try looking at the source code, but I was hoping that Red Hat or others in the Cygwin community could share more than "clues."

e) If the /bin/passwd manual isn't there, this is a bug. It should be reconciled with openssl passwd. However, if NEITHER allows password changing, that is a BIG TIME bug. I could live with this, but it seems worse that ALL defined NT user account passwords are being rejected by login, telnet or ftp.

Serious help would still be appreciated.

"Clueless" Phil.


From: Nicholas Wourms <nwourms@yahoo.com>
To: Phil Smith <aphilsmith@hotmail.com>, cygwin@cygwin.com
Subject: Re: Cygwin Password handling and Inetd configuration
Date: Sat, 20 Jul 2002 17:11:08 -0700 (PDT)


--- Phil Smith <aphilsmith@hotmail.com> wrote:
> Is there a reference regarding the inetd configuration and password
> setup
> for Cygwin ? I've installed the current version (which uname reports as
> 1.3.11).

Read the Cygwin users guide, its on the same page as the one you somehow
found this mailing list on.  FYI, 1.3.11 is old news, rerun setup.exe to
get more up to date.

> At issue:
>
> 1. The /etc/inetd.conf seems conventional, but there is no /etc/services
>
> file installed, or documentation for port assignments. Is there some
> other
> file or method to re-assign TCP ports or new services ? If /etc/services
>
> isn't used, what is the correct configuration file ?

Open find in explorer and have it search for services.  It should be
located in your windows directory.

Read /usr/doc/Cygwin/inetd.README to be "clued" in.

> 2. There is no longer a man page for /bin/passwd -- only a page for the
> openssl front end. Neither seems to work to change a user password and
> allow
> that user to log-in via the distribution in.telnetd or in.ftpd via
> /bin/passwd, or by using openssl passwd -crypt and manually adding the
> result to /etc/passwd.

See the online user's guide.
Documentation:         http://cygwin.com/docs.html

> 3. Compiling other ftpd source code and substituting it for the in.ftpd
> in
> /etc/causes a core dump on getpeername() or getsockname().
>

You'll have to figure out that one your self...

Cheers,
Nicholas

P.S. - Keep all replies on the list.

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com



_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com


--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/


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