Joseph Reynolds | 68e567f | 2021-02-24 17:20:01 -0600 | [diff] [blame] | 1 | # Allow passwordless use of sudo |
2 | |||||
3 | PACKAGECONFIG += "pam-wheel" | ||||
4 | |||||
Adriana Kobylak | b96c750 | 2021-08-06 16:25:30 +0000 | [diff] [blame] | 5 | do_install:append () { |
Joseph Reynolds | 68e567f | 2021-02-24 17:20:01 -0600 | [diff] [blame] | 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 | } |