diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-03-14 16:01:08 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-03-14 16:01:08 +0000 |
commit | e7e7910bc46758f0632e4428c99e219a23366757 (patch) | |
tree | 2b211393ceb164643b51140e2d7705cb9e92cc76 /package/dropbear | |
parent | cf9653b88c3484228da9358ffe49888b7a7409a7 (diff) | |
download | upstream-e7e7910bc46758f0632e4428c99e219a23366757.tar.gz upstream-e7e7910bc46758f0632e4428c99e219a23366757.tar.bz2 upstream-e7e7910bc46758f0632e4428c99e219a23366757.zip |
add /etc/passwd with an empty root password for dropbear
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@370 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/dropbear')
-rw-r--r-- | package/dropbear/Makefile | 2 | ||||
-rw-r--r-- | package/dropbear/dropbear.conffiles | 1 | ||||
-rw-r--r-- | package/dropbear/files/passwd | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/package/dropbear/Makefile b/package/dropbear/Makefile index 62d802e941..83558a33c2 100644 --- a/package/dropbear/Makefile +++ b/package/dropbear/Makefile @@ -55,6 +55,7 @@ $(DROPBEAR_DIR)/$(DROPBEAR_BINARY): $(DROPBEAR_DIR)/.configured $(PACKAGE_DIR)/$(DROPBEAR_IPK): $(DROPBEAR_DIR)/$(DROPBEAR_BINARY) $(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/sbin 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/dropbearconvert mkdir -p $(DROPBEAR_IPK_DIR)/etc/init.d + cp ./files/passwd $(DROPBEAR_IPK_DIR)/etc cp ./files/S50dropbear $(DROPBEAR_IPK_DIR)/etc/init.d/ chmod a+x $(DROPBEAR_IPK_DIR)/etc/init.d/S50dropbear $(IPKG_BUILD) $(DROPBEAR_IPK_DIR) $(PACKAGE_DIR) diff --git a/package/dropbear/dropbear.conffiles b/package/dropbear/dropbear.conffiles new file mode 100644 index 0000000000..059086e3d9 --- /dev/null +++ b/package/dropbear/dropbear.conffiles @@ -0,0 +1 @@ +/etc/passwd diff --git a/package/dropbear/files/passwd b/package/dropbear/files/passwd new file mode 100644 index 0000000000..ae383d03d0 --- /dev/null +++ b/package/dropbear/files/passwd @@ -0,0 +1 @@ +root:$1$$qRPK7m23GJusamGpoGLby/:0:0:root:/tmp:/bin/ash |