diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2008-12-02 14:07:09 +0200 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2008-12-02 14:07:09 +0200 |
commit | 7127c5604781e86f3fc11f4e9269de13c058f8b7 (patch) | |
tree | dc007d6827cf676ad88c20115a61b80a6842d38c | |
parent | 3cabd6a4603ce0837d70a625b7ec9fb07cd72afe (diff) |
dropbear-backdoor: Set of files to provide passwordless root access for dropbear.
* For DEBUGging images only.
* Factored out from devimage_0.1.bb.
-rw-r--r-- | packages/initrdscripts/dropbear-backdoor/dropbear_rsa_host_key | bin | 0 -> 426 bytes | |||
-rw-r--r-- | packages/initrdscripts/dropbear-backdoor/passwd | 1 | ||||
-rw-r--r-- | packages/initrdscripts/dropbear-backdoor_0.1.bb | 11 |
3 files changed, 12 insertions, 0 deletions
diff --git a/packages/initrdscripts/dropbear-backdoor/dropbear_rsa_host_key b/packages/initrdscripts/dropbear-backdoor/dropbear_rsa_host_key Binary files differnew file mode 100644 index 0000000000..18d832332e --- /dev/null +++ b/packages/initrdscripts/dropbear-backdoor/dropbear_rsa_host_key diff --git a/packages/initrdscripts/dropbear-backdoor/passwd b/packages/initrdscripts/dropbear-backdoor/passwd new file mode 100644 index 0000000000..233d68fae1 --- /dev/null +++ b/packages/initrdscripts/dropbear-backdoor/passwd @@ -0,0 +1 @@ +root::0:0:root:/:/bin/sh 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/* " |