blob: f4254e7ba05f2a952a94fa8b06a77595525e955e [file] [log] [blame]
Joseph Reynolds68e567f2021-02-24 17:20:01 -06001# Allow passwordless use of sudo
2
3PACKAGECONFIG += "pam-wheel"
4
5do_install_append () {
6 # Allow members of the 'wheel' group to use passwordless sudo
7 sed -i 's/# \(%wheel ALL=(ALL) NOPASSWD: ALL\)/\1/' ${D}${sysconfdir}/sudoers
8}