Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Sep 1995 14:35:05 -0700 (PDT)
From:      Julian Elischer <julian@ref.tfs.com>
To:        guido@gvr.win.tue.nl (Guido van Rooij)
Cc:        taob@io.org, bugs@ns1.win.net, hackers@FreeBSD.ORG
Subject:   Re: Guido's pwd_mkdb improvements (fwd)
Message-ID:  <199509242135.OAA06150@ref.tfs.com>
In-Reply-To: <199509241950.UAA06285@gvr.win.tue.nl> from "Guido van Rooij" at Sep 24, 95 08:50:19 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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)

> 
> Brian Tao wrote:
> > 
> > On Fri, 22 Sep 1995, Mark Hittinger wrote:
> > > 
> > > 12,870 lines in /etc/passwd today.
> > 
> >     Sorry, I'm just getting back up to speed again with my new job in
> > Toronto... what are these improvements to pwd_mkdb?
> 
> A simple observation: most master.passwd updates are done because
> only one line needs to be updated. So I added an option to
> pwd_mkdb that only touches a specific record.
> 
> Before commiting any of these, some discussions willbe necessary as
> I'd like a complete solution. That means that there is support to delete
> an entry and, when it's up to me, there willbe some replacement for
> vipw. Vipw is bad in that you can't tell which records were changed.
> Vipw can still be used, but only with care as *large* rebuild times
> are to be expected. I'll post my patches later tonight and I'd like other
> to comment on them.
> 
> -Guido
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509242135.OAA06150>