jupyterhub / batchspawner

Custom Spawner for Jupyterhub to start servers in batch scheduled systems
BSD 3-Clause "New" or "Revised" License
190 stars 134 forks source link

sudo: no tty present and no askpass program specified #173

Closed statiksof closed 4 years ago

statiksof commented 4 years ago

After upgrading to 0.9.0-dev0, spawning is not working. jupyterhub 1.0.0

Spawn failed: We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. sudo: no tty present and no askpass program specified

In jupyterhub.log I see this:

pam_unix(sudo:auth): conversation failed
sudo[26719]: pam_unix(sudo:auth): auth could not identify password for [jupyterhub]
sudo[26719]: pam_succeed_if(sudo:auth): requirement "uid >= 1000" not met by user "jupyterhub"