From 39cbb0c9d3c0f55c7024ec9baf76959c8ea024a0 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 3 Mar 2014 23:08:07 -0800 Subject: [PATCH] libpam: Disable nullok_secure This will let us ssh with empty password as root user. Its less secure but good for development work. Signed-off-by: Khem Raj --- recipes-tweaks/pam/libpam_1.1.6.bbappend | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 recipes-tweaks/pam/libpam_1.1.6.bbappend diff --git a/recipes-tweaks/pam/libpam_1.1.6.bbappend b/recipes-tweaks/pam/libpam_1.1.6.bbappend new file mode 100644 index 0000000..aa8e1a3 --- /dev/null +++ b/recipes-tweaks/pam/libpam_1.1.6.bbappend @@ -0,0 +1,4 @@ +#allow empty password +do_install_append () { + sed -i -e 's:nullok_secure:nullok:g' ${D}${sysconfdir}/pam.d/common-auth +}