Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: RE: sshd install troubles Date: Wed, 30 Oct 2002 17:07:30 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Harig, Mark A." To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g9UM8Os15164 Thanks for the clarification! > -----Original Message----- > From: Igor Pechtchanski [mailto:pechtcha AT cs DOT nyu DOT edu] > Sent: Wednesday, October 30, 2002 5:04 PM > To: Harig, Mark A. > Cc: Jason Dufair; cygwin AT cygwin DOT com > Subject: RE: sshd install troubles > > > On Wed, 30 Oct 2002, Harig, Mark A. wrote: > > > > I set up the CYGWIN system environment var as "binmode tty > > > ntsec". I did a > > > mkpasswd -d -u mydomainlogin >> /etc/passwd > > > > For future reference: it has been found that the order > > of mkpasswd's '-d' and '-u' options is significant. > > On some systems/networks, it has been found that > > 'mkpasswd' runs much faster if '-u' precedes '-d'. > > No. The order of the *options* doesn't matter. The > confusion arises from > the fact that the domain name is *not* a parameter of the "-d" command > line option, but a stand-alone argument. Thus, putting the > domain *name* > after the "-d" option, but before the "-u domainuser" option > leads to the > "-u" option being ignored, and all users in the domain being > listed, which > can be quite time consuming. If the domain name is given as the last > argument, the order of "-d" and "-u domainuser" doesn't matter, i.e., > mkpasswd -d -u mydomainlogin mydomainname > and > mkpasswd -u mydomainlogin -d mydomainname > should be identical. > Again, if the domain name is specified before the "-u" option, i.e., > mkpasswd -d mydomainname -u mydomainlogin > the "-u" option is ignored, and all domain users are listed. > > This is counterintuitive, but that's the way mkpasswd and > mkgroup work. > Igor > -- > http://cs.nyu.edu/~pechtcha/ > |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu > ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com > |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski > '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! > > "Water molecules expand as they grow warmer" (C) Popular > Science, Oct'02, p.51 > > -- 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/