Commit 19b9d933 authored by Peter Parente's avatar Peter Parente

Revert "Fix sudoers.d inclusion on debian img (fix #394)"

This reverts commit 4b3b6697.
parent df7a34be
......@@ -28,8 +28,6 @@ if [ $UID == 0 ] ; then
# Enable sudo if requested
if [ ! -z "$GRANT_SUDO" ]; then
# Ensure includedir sudoers.d is not commented
sed -i -E 's|^#(includedir /etc/sudoers.d.*)|\1|g' /etc/sudoers
echo "$NB_USER ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/notebook
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment