[PATCH] dont compile pwd_to_spwd when shadow passwds is off
Rob Landley
rob at landley.net
Sat Sep 17 19:08:33 UTC 2005
On Saturday 17 September 2005 02:20, Amir Shalem wrote:
> >Are you saying that enabling CONFIG_USE_BB_SHADOW still requires shadow
> >password support in uClibc in order to compile? If so, what's the point
> > of that option even existing?
>
> no,
> i'm saying that enabling CONFIG_USE_BB_SHADOW
> still requires you to have pwd2spwd.c
But can you compile it in any environment where it would be useful?
> pwd2spwd should be enabled only if CONFIG_FEATURE_SHADOWPASSWDS is on.
>
> CONFIG_USE_BB_SHADOW lets you have shadow support within busybox programs
> su, login, passwd, etc, without having shadow support in uclibc.
If you have CONFIG_USE_BB_SHADOW, and build against a uclibc that does not
have shadow support (and thus does not have shadow.h), will it compile?
Are you saying that the only way to use CONFIG_USE_BB_SHADOW is to build
against a uclibc that includes shadow support? If so, what is the purpose of
CONFIG_USE_BB_SHADOW? This code only compiles when it's redundant?
That's the point I'm trying to clarify.
Rob
More information about the busybox
mailing list