summaryrefslogtreecommitdiff
path: root/package/base-files/Makefile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-06-05 17:48:41 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-06-05 17:48:41 +0000
commit5e84df6bac701e442ec877fd1dc140bab9803c75 (patch)
tree2f0e005c745aa2ff85d81966b71e1dd9a27aa6a7 /package/base-files/Makefile
parenta044a43d066a3b1c1f718a09aca661e66d47b892 (diff)
downloadmtk-20170518-5e84df6bac701e442ec877fd1dc140bab9803c75.zip
mtk-20170518-5e84df6bac701e442ec877fd1dc140bab9803c75.tar.gz
mtk-20170518-5e84df6bac701e442ec877fd1dc140bab9803c75.tar.bz2
base-files: ship a static initial shadow db instead of creating it from passwd with sed, this fixes registering of users at compile time
SVN-Revision: 32064
Diffstat (limited to 'package/base-files/Makefile')
-rw-r--r--package/base-files/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index a74d83c..68c8e02 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -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 \