Re: /lib/passwd



On Fri, 2012-08-24 at 16:53 +0300, Adrian Perez de Castro wrote:
> Colin Walters <walters verbum org> writes:
> 
> > As part of the "make /etc/ work", I've landed
> > https://github.com/cgwalters/poky/commit/7c195b8e000826e86faa91a54aae5d46adb18370
> >
> > The eglibc patch is not beautiful and will need some loving care before
> > it's upstreamable.  Ray keeps telling me to write an NSS module,
> > but...eh.
> 
> Mmmh, wouldn't this be as “easy” as copying some of the .c files from
> the “nss_files” files from (e)glibc and modifying the paths they access
> in the source?

Well, we want to read *both* /etc/passwd and /lib/passwd.  I'm not sure
how copying the source would make that easier.  Basically "adduser" or
whatever should still modify /etc/passwd.

I'm open to other solutions here for sure though.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]