From 7127c5604781e86f3fc11f4e9269de13c058f8b7 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Tue, 2 Dec 2008 14:07:09 +0200 Subject: dropbear-backdoor: Set of files to provide passwordless root access for dropbear. * For DEBUGging images only. * Factored out from devimage_0.1.bb. --- packages/initrdscripts/dropbear-backdoor_0.1.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 packages/initrdscripts/dropbear-backdoor_0.1.bb (limited to 'packages/initrdscripts/dropbear-backdoor_0.1.bb') diff --git a/packages/initrdscripts/dropbear-backdoor_0.1.bb b/packages/initrdscripts/dropbear-backdoor_0.1.bb new file mode 100644 index 0000000000..bbed32b834 --- /dev/null +++ b/packages/initrdscripts/dropbear-backdoor_0.1.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "Set of files to open up unlimited access to dropbear daemon - DEBUG ONLY!" +SRC_URI = "file://passwd file://dropbear_rsa_host_key" +PR = "r0" + +do_install() { + install -d ${D}/etc/dropbear + install -m 0600 ${WORKDIR}/dropbear_rsa_host_key ${D}/etc/dropbear/ + install -m 0644 ${WORKDIR}/passwd ${D}/etc/ +} + +FILES_${PN} += " /etc/* " -- cgit v1.2.3