Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
mdmillerii
/
openbmc
/
3c45e5ab81eee5007852cbf549c19bab5d7d07ab
/
.
/
meta-ibm
/
recipes-extended
/
sudo
/
sudo_%.bbappend
blob: e503accd8ec5691f91eda4e5e149da1c7535868a [
file
] [
log
] [
blame
]
# Allow passwordless use of sudo
PACKAGECONFIG
+=
"pam-wheel"
do_install
:
append
()
{
# Allow members of the 'wheel' group to use passwordless sudo
sed
-
i
's/# \(%wheel ALL=(ALL:ALL) NOPASSWD: ALL\)/\1/'
$
{
D
}
$
{
sysconfdir
}/
sudoers
}