Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 26 Feb 2013 18:35:42 -0500
From: Rich Felker <>
Subject: Re: shadow.h

On Tue, Feb 26, 2013 at 11:54:58PM +0100, Daniel Cegiełka wrote:
> Hi,
> It seems that the musl doesn't contain several important shadow's
> functions that are declared in the shadow.h.
> # ldd /lib/security/
> => /lib/ (0x7fcac91b8000)
> Error relocating /lib/security/ putspent: symbol not found
> Error relocating /lib/security/ fgetspent: symbol not found
> Error relocating /lib/security/ putpwent: symbol not found

These have been discussed before and I believe the intent is to add
them (they're simple fprintf wrappers, if I remember correctly), but
be aware that's support for writing to the password
database assumes a certain form and will break things badly if the
user is using tcb shadow. It might also mess up the shadow file if it
depends on being able to iterate all entries in the shadow file; I'm
not sure if that works or not.

These are issues that need more discussion...


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.