Files
docker-stacks/minimal-notebook/enable_sudo.sh

4 lines
115 B
Bash
Executable File

#!/bin/bash
if [ ! -z "$GRANT_SUDO" ]; then
echo "$NB_USER ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/notebook
fi