public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Cygwin Password handling and Inetd configuration
@ 2002-07-20 20:17 Phil Smith
  2002-07-20 22:58 ` Robert Collins
  2002-07-21  3:57 ` Nicholas Wourms
  0 siblings, 2 replies; 5+ messages in thread
From: Phil Smith @ 2002-07-20 20:17 UTC (permalink / raw)
  To: nwourms, cygwin

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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cygwin Password handling and Inetd configuration
  2002-07-20 20:17 Cygwin Password handling and Inetd configuration Phil Smith
@ 2002-07-20 22:58 ` Robert Collins
  2002-07-21  3:57 ` Nicholas Wourms
  1 sibling, 0 replies; 5+ messages in thread
From: Robert Collins @ 2002-07-20 22:58 UTC (permalink / raw)
  To: Phil Smith; +Cc: cygwin

On Sun, 2002-07-21 at 11:44, Phil Smith wrote:

 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."

Inetd, and cygwin, use the NT SERVICES file. For you convenience you
might want to symlick /etc/services to the NT SERVICES file. The NT
SERVICES file normally lives in %SYSTEMROOT%/system32/drivers/etc/.

Rob


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cygwin Password handling and Inetd configuration
  2002-07-20 20:17 Cygwin Password handling and Inetd configuration Phil Smith
  2002-07-20 22:58 ` Robert Collins
@ 2002-07-21  3:57 ` Nicholas Wourms
  1 sibling, 0 replies; 5+ messages in thread
From: Nicholas Wourms @ 2002-07-21  3:57 UTC (permalink / raw)
  To: Phil Smith, cygwin


--- Phil Smith <aphilsmith@hotmail.com> wrote:
> Nicholas,
> 
> It's great to get a quick reply, but it seems somewhat arrogant to
> stated 
> "RTFM" 

I'm sure this is what anyone would have said if they even felt like
responding.  It would behoove you to read the following before posting:

http://www.tuxedo.org/~esr/faqs/smart-questions.html

> 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

No, it isn't...  Though if you'd care to do a search of the ml-archives,
you'll see that when people report "problems" and are using out of date
dll's, the first response is usually to update to the latest dll.  Which,
BTW, is 1.3.12-2 (not 1.3.12-1).  This lack of attention to detail implies
that you have not taken the time to properly research the issue.

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

Again, I mentioned the docs as a starting point.  Most of the info in
there is still relevant.  You should asl try searching the mailing list
archives.
 
> b) I've got the CYGWIN variable set to "netd" on my NT4 system. I've
> tried 
> an installation on Win2K with similar problems.

Do you meant "ntsec"?  Have you set the "ntsec" variable?  If your
filesystem is FAT, then try setting the "ntea" variable.  This is, again,
all in the docs.

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

See above.

> 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."

Of course, you did try opening a find window and searching for the
"services" file like I suggested?  Obviously not.  In case you weren't
aware (as this is explained in the docs), Cygwin uses the windows winsock
api to provide network services.  Thus, you would need to edit the windows
hosts, services, etc. to have a similar change in cygwin.  (BTW, this was
discussed just 2 days ago).

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

Just because Cygwin doesn't operate within Phil's specified parameters,
you deem it as a bug.  However you:

A)Haven't taken the time to properly research the issue.
B)Refuse to upgrade to the latest dll.
C)Haven't examined the source code and provided a patch to your bugs.

The point is that all the "bugs" you described have been discussed in the
past.  More often than not, the bug lies in the user, not the code.

> Serious help would still be appreciated.

Maybe you should ask for a refund?

>     "Clueless" Phil.

If the shoe fits...

Cheers,
Nicholas

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cygwin Password handling and Inetd configuration
  2002-07-20 19:50 Phil Smith
@ 2002-07-20 20:15 ` Nicholas Wourms
  0 siblings, 0 replies; 5+ messages in thread
From: Nicholas Wourms @ 2002-07-20 20:15 UTC (permalink / raw)
  To: Phil Smith, cygwin


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

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Cygwin Password handling and Inetd configuration
@ 2002-07-20 19:50 Phil Smith
  2002-07-20 20:15 ` Nicholas Wourms
  0 siblings, 1 reply; 5+ messages in thread
From: Phil Smith @ 2002-07-20 19:50 UTC (permalink / raw)
  To: rrschulz, cygwin

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).

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 ?

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.

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

Thanks,

Phil Smith



_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-07-21  8:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-20 20:17 Cygwin Password handling and Inetd configuration Phil Smith
2002-07-20 22:58 ` Robert Collins
2002-07-21  3:57 ` Nicholas Wourms
  -- strict thread matches above, loose matches on Subject: below --
2002-07-20 19:50 Phil Smith
2002-07-20 20:15 ` Nicholas Wourms

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).