[OE-core] [PATCH] openssh: allow root login when debug-tweaks is enabled
Khem Raj
raj.khem at gmail.com
Fri Sep 7 20:52:24 UTC 2012
On Fri, Sep 7, 2012 at 11:17 AM, Saul Wold <sgw at linux.intel.com> wrote:
> + for i in ${IMAGE_FEATURES};
> + do
> + if [ ${i} = "debug-tweaks" ]; then
> + sed -i -e "s/^#PermitRootLogin/PermitRootLogin/" ${D}${sysconfdir}/ssh/sshd_config
> + sed -i -e "s/^#PermitEmptyPasswords no/PermitEmptyPasswords yes/" ${D}${sysconfdir}/ssh/sshd_config
> + fi
> + done
instead of looping could you apply same logic as in dropbear to do this thing ?
More information about the Openembedded-core
mailing list