mirror of
https://git.yoctoproject.org/meta-security
synced 2026-04-20 23:40:05 +00:00
8 lines
260 B
Plaintext
8 lines
260 B
Plaintext
|
|
PACKAGECONFIG:append_harden = " pam-wheel"
|
|
do_install:append_harden () {
|
|
if [ "${@bb.utils.contains('DISABLE_ROOT', 'True', 'yes', 'no', d)}" = "yes" ]; then
|
|
sed -i -e 's:root ALL=(ALL) ALL:#root ALL=(ALL) ALL:' ${D}${sysconfdir}/sudoers
|
|
fi
|
|
}
|