[BusyBox] [PATCH] Fix shadow passwd pb.
magicfox
magicfox at magic.fr
Wed Sep 15 08:25:33 UTC 2004
Glenn McGrath wrote:
> ...
> 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
>
Hi,
Ok Glenn, it's safe to check if file exist before using it ... of course
in all the case, we have to construct one of these files in the rootfs
to be able to log into busybox.
Thanks for your attention.
magicfox
More information about the busybox
mailing list