SHADOW problem and patches

Aurelien Jacobs aurel at gnuage.org
Thu Dec 28 14:56:57 UTC 2006


On Thu, 28 Dec 2006 10:19:54 +0100
Marc Leeman <marc.leeman at gmail.com> wrote:

> Some files need shadow_.h (without having
> ENABLE_FEATURE_SHADOWPASSWDS).

Including shadow_.h without having ENABLE_FEATURE_SHADOWPASSWDS
is wrong. It won't work on systems which don't have shadow.h installed
(uClibc systems with shadow password disabled).

The attached patch fixes the problem for pwd_grp.c. (It should be
fixed the same way for passwd.c and sulogin.c but I don't use them
so I didn't tried to fix them).

Aurel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 11_shadow_pwd_grp.diff
Type: text/x-diff
Size: 3645 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20061228/f5d641bd/attachment-0002.bin 


More information about the busybox mailing list