mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 23:12:56 +00:00
Initial contribution of R, scipy, minimal notebook stacks
This commit is contained in:
4
minimal-notebook/enable_sudo.sh
Executable file
4
minimal-notebook/enable_sudo.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
if [ ! -z "$GRANT_SUDO" ]; then
|
||||
echo "$NB_USER ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/notebook
|
||||
fi
|
Reference in New Issue
Block a user