burrow-pi-img/stage3/01-sudo-without-passwd/00-run.sh

4 lines
123 B
Bash
Executable File

#!/bin/bash -e
# Enable password-less sudo for everyone
echo "%sudo ALL=(ALL) NOPASSWD:ALL" >> "${ROOTFS_DIR}/etc/sudoers"