blob: e503accd8ec5691f91eda4e5e149da1c7535868a [file] [log] [blame]
Joseph Reynolds68e567f2021-02-24 17:20:01 -06001# Allow passwordless use of sudo
2
3PACKAGECONFIG += "pam-wheel"
4
Adriana Kobylakb96c7502021-08-06 16:25:30 +00005do_install:append () {
Joseph Reynolds68e567f2021-02-24 17:20:01 -06006 # Allow members of the 'wheel' group to use passwordless sudo
Adriana Kobylak47b187d2022-12-15 09:58:02 -06007 sed -i 's/# \(%wheel ALL=(ALL:ALL) NOPASSWD: ALL\)/\1/' ${D}${sysconfdir}/sudoers
Joseph Reynolds68e567f2021-02-24 17:20:01 -06008}