aboutsummaryrefslogtreecommitdiff
path: root/.devcontainer/node.sh
diff options
context:
space:
mode:
Diffstat (limited to '.devcontainer/node.sh')
-rw-r--r--.devcontainer/node.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/.devcontainer/node.sh b/.devcontainer/node.sh
index 3422fc1..0b47058 100644
--- a/.devcontainer/node.sh
+++ b/.devcontainer/node.sh
@@ -81,6 +81,9 @@ check_packages apt-utils \
manpages-dev \
init-system-helpers
+echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
+ && chmod 0440 /etc/sudoers.d/$USERNAME
+
# Install yarn
if type yarn > /dev/null 2>&1; then
echo "Yarn already installed."