boxes scripts: give real total sudo access
Without this, commands like `sudo -u $USER $COMMAND` will not work.
This commit is contained in:
parent
1d3e3901c7
commit
1d28e3d213
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ sed -i 's/Defaults requiretty/\# Defaults requiretty/' ${ROOTFS}/etc/sudoers
|
||||||
sed -i 's/\#%wheel/\%wheel/' ${ROOTFS}/etc/sudoers
|
sed -i 's/\#%wheel/\%wheel/' ${ROOTFS}/etc/sudoers
|
||||||
sed -i 's/\# %wheel/\%wheel/' ${ROOTFS}/etc/sudoers
|
sed -i 's/\# %wheel/\%wheel/' ${ROOTFS}/etc/sudoers
|
||||||
# sed -i -e \
|
# sed -i -e \
|
||||||
# 's/%sudo\s\+ALL=(ALL\(:ALL\)\?)\s\+ALL/%sudo ALL=NOPASSWD:ALL/g' \
|
# 's/%sudo\s\+ALL=(ALL\(:ALL\)\?)\s\+ALL/%sudo ALL=(ALL) NOPASSWD:ALL/g' \
|
||||||
# ${ROOTFS}/etc/sudoers
|
# ${ROOTFS}/etc/sudoers
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue