2014-03-05 0:31 GMT+01:00 Khem Raj <raj.k...@gmail.com>: > This will let us ssh with empty password as root user. > Its less secure but good for development work. > > Signed-off-by: Khem Raj <raj.k...@gmail.com> > --- > 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 > +} > --
Hi, can this config option be made debug-tweaks aware? E.g. in image.bbclass we have: # Allow dropbear/openssh to accept logins from accounts with an empty password string if debug-tweaks is enabled ROOTFS_POSTPROCESS_COMMAND += '${@base_contains("IMAGE_FEATURES", "debug-tweaks", "ssh_allow_empty_password; ", "",d)}' -- Regards Samuel _______________________________________________ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel