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 |
Adriana Kobylak | 47b187d | 2022-12-15 09:58:02 -0600 | [diff] [blame^] | 7 | sed -i 's/# \(%wheel ALL=(ALL:ALL) NOPASSWD: ALL\)/\1/' ${D}${sysconfdir}/sudoers |
Joseph Reynolds | 68e567f | 2021-02-24 17:20:01 -0600 | [diff] [blame] | 8 | } |