From owner-freebsd-hackers Mon Sep 25 16:06:50 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA28578 for hackers-outgoing; Mon, 25 Sep 1995 16:06:50 -0700 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA28573 for ; Mon, 25 Sep 1995 16:06:48 -0700 Received: (from julian@localhost) by ref.tfs.com (8.6.11/8.6.9) id QAA08337; Mon, 25 Sep 1995 16:03:48 -0700 From: Julian Elischer Message-Id: <199509252303.QAA08337@ref.tfs.com> Subject: Re: Guido's pwd_mkdb improvements (fwd) To: gryphon@healer.com (Coranth Gryphon) Date: Mon, 25 Sep 1995 16:03:47 -0700 (PDT) Cc: guido@gvr.win.tue.nl, bugs@ns1.win.net, hackers@FreeBSD.ORG, taob@io.org In-Reply-To: <199509251447.KAA12188@healer.com> from "Coranth Gryphon" at Sep 25, 95 10:47:24 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1111 Sender: owner-hackers@FreeBSD.ORG Precedence: bulk > > From: Julian Elischer > > you can sort the passwd on uid and name before editing it, do the same > > afterwards, get a diff, change those records and then store the version > > of the passwd file the user saved (user selected order) > > There is one thing that this might break (I'm not sure, but lest ye forget). > > I often use the "multiple names/passwords, single uid" system. > And since the first encountered name with that uid is considered "canonical", > might an alphabetic sorting not screw things up? > > -coranth > that's why I said > > "store the version > > of the passwd file the user saved (user selected order)" the alphabetic sorting is just to find the diffs.. > > ------------------------------------------+------------------------+ > Coranth Gryphon | "Faith Manages." | > | - Satai Delenn | > Phone: 603-598-3440 Fax: 603-598-3430 +------------------------+ > USMail: 11 Carver St, Nashua, NH 03060 > Disclaimer: All these words are yours, except Europa... > >