dropbear: fix system authentication/account 92/44492/1
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 22 Jul 2015 11:27:22 +0000 (11:27 +0000)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 22 Jul 2015 13:03:48 +0000 (13:03 +0000)
Tizen uses a different name for PAM file authentication than
meta tizen. This causes a ssh to the machine to fail on
dropbear ssh server.

Change-Id: I0262b27986405fc833ac2fd1e05445b98f90e613
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
meta-tizen-adaptation/meta/recipes-core/dropbear/dropbear_%.bbappend
meta-tizen-adaptation/meta/recipes-core/dropbear/files/dropbear [new file with mode: 0644]

index 5847cd7..da4ee13 100644 (file)
@@ -3,3 +3,6 @@ SECTION = "Security/Network"
 #PAM_SRC_URI = ""
 PAM_PLUGINS = "libpam-runtime"
 
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+PAM_SRC_URI += "file://dropbear"
+
diff --git a/meta-tizen-adaptation/meta/recipes-core/dropbear/files/dropbear b/meta-tizen-adaptation/meta/recipes-core/dropbear/files/dropbear
new file mode 100644 (file)
index 0000000..33274db
--- /dev/null
@@ -0,0 +1,4 @@
+#%PAM-1.0
+
+auth     include  system-auth
+account  include  system-auth