Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Date: Sat, 27 Oct 2001 13:01:09 +0200 From: "Gerrit P. Haase" X-Mailer: The Bat! (v1.53d) Reply-To: cyga Organization: Esse keine toten Tiere X-Priority: 3 (Normal) Message-ID: <97601084613.20011027130109@familiehaase.de> To: cygp CC: cyga Subject: Re: setup clobbers passwd In-Reply-To: <047e01c15ece$5dd5c850$0300a8c0@ufo> References: <047e01c15ece$5dd5c850$0300a8c0 AT ufo> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Hops: 1 X-Sender: 320081107336-0001 AT t-dialin DOT net Hallo Trevor, Am 2001-10-27 um 12:01 schriebst du: > The attached simple patch fixes the problem of passwd being reset everytime > setup is run. > "Rename" fails if a file named "*.done" exists therefore you end up with two > files in the /etc/postinstall named passwd-grp.bat.done and passwd-grp.bat. > Consequently, passwd-grp.bat clobbers your passwd every time setup is run. > So how do you end up in this position ---- delete your passwd and group > files after you have run setup for the first time. I suspect this is > happening to many users ......... O.k., I see the problem, but why is there created a second passwd-grp.bat? I have one file there: passwd-grp.bat.done, there was never created a second passwd-grp.bat, so how could this happen? > The patched setup will fix the problem the first time it is run, > unfortunately, this first time run will still reset the passwd and group > files. However, the problem will be fixed thereafter. We will get a lot of questions at the list, "why was my /etc/passwd recreated...?" and all the problems reported the last time because of big domains and so. Fup2 cygwin-apps Ciao, Gerrit P. Haase mailto:gp AT familiehaase DOT de -- =^..^=