Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
openbmc
/
1d0d5414e43fe70569aee307be4778d2a49908cb
/
.
/
meta-ibm
/
recipes-extended
/
sudo
/
sudo_%.bbappend
blob: 338df396acaaacbaba7f88817d94a7e54d25b8d5 [
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
}