add /etc/passwd with an empty root password for dropbear

SVN-Revision: 370
This commit is contained in:
Felix Fietkau 2005-03-14 16:01:08 +00:00
parent 3eccb89c62
commit b9dd687073
3 changed files with 4 additions and 0 deletions

View file

@ -55,6 +55,7 @@ $(DROPBEAR_DIR)/$(DROPBEAR_BINARY): $(DROPBEAR_DIR)/.configured
$(PACKAGE_DIR)/$(DROPBEAR_IPK): $(DROPBEAR_DIR)/$(DROPBEAR_BINARY) $(PACKAGE_DIR)/$(DROPBEAR_IPK): $(DROPBEAR_DIR)/$(DROPBEAR_BINARY)
$(SCRIPT_DIR)/make-ipkg-dir.sh $(DROPBEAR_IPK_DIR) dropbear.control $(DROPBEAR_VERSION)-1 $(ARCH) $(SCRIPT_DIR)/make-ipkg-dir.sh $(DROPBEAR_IPK_DIR) dropbear.control $(DROPBEAR_VERSION)-1 $(ARCH)
cp dropbear.conffiles $(DROPBEAR_IPK_DIR)/CONTROL/conffiles
mkdir -p $(DROPBEAR_IPK_DIR)/usr/bin mkdir -p $(DROPBEAR_IPK_DIR)/usr/bin
mkdir -p $(DROPBEAR_IPK_DIR)/usr/sbin mkdir -p $(DROPBEAR_IPK_DIR)/usr/sbin
install -m 755 $(DROPBEAR_DIR)/$(DROPBEAR_BINARY) \ install -m 755 $(DROPBEAR_DIR)/$(DROPBEAR_BINARY) \
@ -65,6 +66,7 @@ $(PACKAGE_DIR)/$(DROPBEAR_IPK): $(DROPBEAR_DIR)/$(DROPBEAR_BINARY)
ln -sf ../sbin/dropbear $(DROPBEAR_IPK_DIR)/usr/bin/dropbearkey ln -sf ../sbin/dropbear $(DROPBEAR_IPK_DIR)/usr/bin/dropbearkey
ln -sf ../sbin/dropbear $(DROPBEAR_IPK_DIR)/usr/bin/dropbearconvert ln -sf ../sbin/dropbear $(DROPBEAR_IPK_DIR)/usr/bin/dropbearconvert
mkdir -p $(DROPBEAR_IPK_DIR)/etc/init.d mkdir -p $(DROPBEAR_IPK_DIR)/etc/init.d
cp ./files/passwd $(DROPBEAR_IPK_DIR)/etc
cp ./files/S50dropbear $(DROPBEAR_IPK_DIR)/etc/init.d/ cp ./files/S50dropbear $(DROPBEAR_IPK_DIR)/etc/init.d/
chmod a+x $(DROPBEAR_IPK_DIR)/etc/init.d/S50dropbear chmod a+x $(DROPBEAR_IPK_DIR)/etc/init.d/S50dropbear
$(IPKG_BUILD) $(DROPBEAR_IPK_DIR) $(PACKAGE_DIR) $(IPKG_BUILD) $(DROPBEAR_IPK_DIR) $(PACKAGE_DIR)

View file

@ -0,0 +1 @@
/etc/passwd

View file

@ -0,0 +1 @@
root:$1$$qRPK7m23GJusamGpoGLby/:0:0:root:/tmp:/bin/ash