Patch for shadow passwd configuration
Max Okumoto
max at kiyon.com
Sat Aug 5 19:13:17 UTC 2006
Tito <farmatito at tiscali.it> wrote: On Saturday 5 August 2006 12:39, Max Okumoto wrote:
>
> Index: libpwdgrp/Makefile.in
> ===================================================================
> RCS file: /opt/cvs/busybox/libpwdgrp/Makefile.in,v
> retrieving revision 1.1.1.2
> diff -u -r1.1.1.2 Makefile.in
> --- libpwdgrp/Makefile.in 9 Jul 2006 19:10:12 -0000 1.1.1.2
> +++ libpwdgrp/Makefile.in 5 Aug 2006 10:23:12 -0000
> @@ -23,7 +23,7 @@
> LIBPWDGRP_MOBJS0=$(patsubst %,$(LIBPWDGRP_DIR)/%, $(LIBPWDGRP_MOBJ0-y))
>
> LIBPWDGRP_MSRC1:=$(srcdir)/pwd_grp.c
> -LIBPWDGRP_MOBJ1-$(CONFIG_USE_BB_PWD_GRP):= __parsepwent.o __parsegrent.o \
> +LIBPWDGRP_MOBJ1-$(CONFIG_USE_BB_SHADOW):= __parsepwent.o __parsegrent.o \
Hi, shouldn't this be something like:
CONFIG_USE_BB_PWD_GRP && CONFIG_USE_BB_SHADOW
My script-fu is very bad, so this is just an idea.
Ciao,
Tito
Hi Tito,
That condition is already required by the loginutils/Config.in.
CONFIG_USE_BB_SHADOW can not be true unless the user
configures CONFIG_USE_BB_PWD_GRP and CONFIG_FEATURE_SHADOWPASSWDS.
Max Okumoto
Here is the section of Config.in.
----------------%<--------------%<--------------
config CONFIG_USE_BB_SHADOW
bool " Use busybox shadow password functions"
default y
depends on CONFIG_USE_BB_PWD_GRP && CONFIG_FEATURE_SHADOWPASSWDS
help
If you leave this disabled, busybox will use the system's shadow
password handling functions. And if you are using the GNU C library
(glibc), you will then need to install the /etc/nsswitch.conf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20060805/aca89bdb/attachment.htm
More information about the busybox
mailing list