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 Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 6 Mar 2002 10:18:40 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Suggestion for setup Message-ID: <20020306101840.Q13590@cygbert.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <17B78BDF120BD411B70100500422FC6309E4AF AT IIS000> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17B78BDF120BD411B70100500422FC6309E4AF@IIS000> User-Agent: Mutt/1.3.22.1i On Wed, Mar 06, 2002 at 10:01:22AM +0100, Bernard Dautrevaux wrote: > On the same ground, it would be nice if, when creating /etc/passwd and > /etc/group, setup.exe pass the "-d" flag to mkpasswd/mkgroup; otherwise, > ntsec is almost unusable for the (vast majority of) NT/2k/XP users that > happen to be in a Windows domain. > > I don't know what happens if "mkpasswd -d" is used on 9x/Me if not in a > domain, but this seems harmless on NT/2k/XP, so always passing -d seems > harmless in these cases. It's not harmless. mkpasswd -d will result in an error message on stand alone systems. It's actually the other way around. mkpasswd -l is harmless on domain members and domain controllers. > In fact for our own use, we package cygwin on the same CD as our own product > (with full source of course) and our own install procedure just overwrites > (after asking the user) the cygwin-setup generated files by calling > mk{passwd,group} with "-d". So you have a solution and it's published in this mailing list. We could add a FAQ entry. That should be enough, IMHO. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/