angstrom: Fix access using empty root password
We are not able to login into angstrom images now since many chnages has gone into upstream OE-core drop libpam change to drop secure nullok add empty-root-password to EXTRA_IMAGE_FEAUTURES it should actually be controlled and added only for debug images, but thats for production folks Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -36,7 +36,7 @@ MACHINEOVERRIDES[vardepsexclude] += "SOC_FAMILY"
|
||||
|
||||
# opkg
|
||||
PREFERRED_PROVIDER_opkg-collateral = "angstrom-feed-configs"
|
||||
EXTRA_IMAGE_FEATURES ?= "package-management"
|
||||
EXTRA_IMAGE_FEATURES ?= "package-management empty-root-password"
|
||||
|
||||
PREFERRED_PROVIDER_os-release = "angstrom-version"
|
||||
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
#allow empty password
|
||||
do_install_append () {
|
||||
sed -i -e 's:nullok_secure:nullok:g' ${D}${sysconfdir}/pam.d/common-auth
|
||||
}
|
||||
Reference in New Issue
Block a user