Date: Mon, 18 Mar 2002 08:11:20 -0500 (EST) From: Robert Watson <rwatson@FreeBSD.org> To: Mark Murray <mark@grondar.za> Cc: cjclark@alum.mit.edu, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/chpass chpass.c pw_copy.c pw_copy.h Message-ID: <Pine.NEB.3.96L.1020318081017.13492G-100000@fledge.watson.org> In-Reply-To: <200203181302.g2ID28H5020685@grimreaper.grondar.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 18 Mar 2002, Mark Murray wrote: > > This is all quite a mess. We have chpass(8) using __pw_scan from libc > > and source in vipw(8), and PAM modules sharing all of this code > > too. Wouldn't the Right Thing be to put these functions in a library > > somewhere? I think NetBSD has a lot of this stuffed in libutil. > > There is a lot of password-related stuff spread about the tree in this > messy way (chpass, vipw, chsh(and friends), passwd and so on). I would > vote very strongly for such a change. > > I started doing it some time ago, and lost track in the tangled thread. A remarkably number of userland tools assume that access to passwd information is in libc. Would such a change move this completely out of libc and require modifying the linkages involved for all of these, or is this a lower-level kind of thing? Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1020318081017.13492G-100000>