blob: 338df396acaaacbaba7f88817d94a7e54d25b8d5 [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
7 sed -i 's/# \(%wheel ALL=(ALL) NOPASSWD: ALL\)/\1/' ${D}${sysconfdir}/sudoers
8}