[BusyBox] [PATCH] Fix shadow passwd pb.

Glenn McGrath bug1 at iinet.net.au
Wed Sep 15 02:42:09 UTC 2004


On Wed, 08 Sep 2004 17:12:55 +0200
magicfox <magicfox at magic.fr> wrote:

> If CONFIG_FEATURE_SHADOWPASSWDS is disable and the file /etc/shadow is
> 
> present, busybox passwd still make change on shadow file and we can
> log.

I see the bug, but you patch would have caused problems if
CONFIG_FEATURE_SHADOWPASSWDS is enabled and /etc/shadow doesnt exist.

I checked in a modified version of your patch that retains the check for
access to the shadow file.


Glenn



More information about the busybox mailing list