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 Message-ID: <3500515B75D9D311948800508BA3795595088D@EX-LONDON> From: Vince Hoffman To: cygwin AT cygwin DOT com Subject: RE: Invalid arugment and IO Error with bunzip2 Date: Tue, 22 Oct 2002 21:31:53 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Actually it looks like the post install scripts for setup attempt to add domain users but someone forgot to put in some else statements, as I assume that passwd-grp.sh runs after passwd-grp.bat i could send in a patch if you like, but my shell scripting sucks. Using the %username% or rather $username environment variable you can stop it from adding everyone in large domains which can take hours. However as Pierre says there are still many reasons it is hard to do reliably. -----Original Message----- From: Pierre A. Humblet [mailto:pierre DOT humblet AT ieee DOT org] Sent: 22 October 2002 19:39 To: cygwin AT cygwin DOT com Subject: Re: Invalid arugment and IO Error with bunzip2 On Tue, Oct 22, 2002 at 02:15:22PM -0400, William A. Hoffman wrote: > > I don't understand it that well myself, but as you pointed out, it is not > the same thing, but a different thing. And, the default does not work. > The -d adds the current user and setup does not. However, it logs you > in as the current user, which does not have an entry in the /etc/passwd file, Domain users should run mkpasswd and mkgroup with the -d and -l switches to update /etc/passwd and /etc/group. Setup cannot do it reliably for a number of reasons, e.g. it can be run when the user is logged in locally, or is disconnected from the domain controller. In addition it can take a long time. That may be why setup doesn't attempt it. > which causes all sorts of things to break. I am working on making cygwin much more tolerant to imperfect passwd/group files. This should start showing up in cvs and the snapshots. Pierre -- 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/ -- 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/