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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Wed, 30 Oct 2002 17:19:01 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: "Harig, Mark A." cc: cygwin AT cygwin DOT com Subject: RE: sshd install troubles In-Reply-To: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII No problem, sorry if I sounded harsh... Igor On Wed, 30 Oct 2002, Harig, Mark A. wrote: > 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/