# whitelist of users that can spawn single-user servers
Runas_Alias JUPYTER_USERS = io, europa, ganymede, callisto, rhea

# the command(s) jupyterhub can run on behalf of the above users without needing a password
# this command handles the signalling of spawning servers
Cmnd_Alias SPAWNER_CMD = /usr/local/bin/sudospawner

# actually give hub user permission to run the above command on behalf
# of the above users without a password
rhea ALL=(JUPYTER_USERS) NOPASSWD:SPAWNER_CMD
