[BusyBox] busybox without shadow

Richard Kojedzinszky krichy at tvnetwork.hu
Tue Nov 30 08:53:53 UTC 2004


Dear all,

I have tried to compile busybox without shadow support, and it failed. I
think the following should fix the problem, but may be not. At least, it
now compiles for me.

--- busybox-1.00/libbb/pwd2spwd.c.orig	2002-07-03 06:47:42.000000000 +0200
+++ busybox-1.00/libbb/pwd2spwd.c	2004-11-28 16:54:23.000000000 +0100
@@ -31,6 +31,8 @@
 #include <time.h>
 #include <sys/types.h>
 #include "libbb.h"
+
+#ifdef CONFIG_FEATURE_SHADOWPASSWORDS
 #include "shadow_.h"

 /*
@@ -71,4 +73,4 @@

 	return &sp;
 }
-
+#endif

Regards,
Kojedzinszky Richard
TvNetWork Rt.
E-mail: krichy at tvnetwork.hu
PGP: 0x24E79141
  Fingerprint = 6847 ECFF EF58 0C09 18A5  16CF 270F 0C6F 24E7 9141



More information about the busybox mailing list