[package] base-files: ship a static initial shadow db instead of creating it from...
[openwrt/svn-archive/archive.git] / package / base-files / Makefile
index a74d83cac6d2d15320515eb2a1fb1ab4b8a47d88..68c8e0233bec2c3e2b20f61a58f5687f057218a3 100644 (file)
@@ -443,10 +443,6 @@ define Package/base-files/install
                        $(CP) $(PLATFORM_SUBDIR)/$(PROFILE)/base-files/* $(1)/; \
                fi \
        )
-# Form valid /etc/shadow entries, by copying the user:pw pairs
-# from /etc/passwd, and adding on pw change data
-       cut -d ':' -f 1-2 $(1)/etc/passwd > $(1)/etc/shadow; \
-       $(SED) 's/$$$$/:0:0:99999:7:::/' $(1)/etc/shadow
 
        $(VERSION_SED) \
                $(1)/etc/banner \