Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
openbmc
/
0acca985ecd37be5b26981982e78a1866c30f63d
/
.
/
meta-ibm
/
recipes-extended
/
sudo
/
sudo_%.bbappend
blob: f4254e7ba05f2a952a94fa8b06a77595525e955e [
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) NOPASSWD: ALL\)/\1/'
$
{
D
}
$
{
sysconfdir
}/
sudoers
}