Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
stefanberger
/
openbmc
/
7f23e3a83e7efc6b7e15bde821fcebe5c491cd7c
/
.
/
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
}