c.Authenticator.admin_users set, but no admin access

192 views
Skip to first unread message

Alvin Huff

unread,
May 7, 2019, 8:00:23 PM5/7/19
to Project Jupyter
Hello all I am trying to configure admin accounts in my jupyterhub_config file I have set c.Authenticator.admin_users = {"alvin", "susanna"}
c.JupyterHub.admin_access = True. I can login and I get a Jupiter note book, but no admin privileges. I created an account (alvin) on the container and it is a member of the sudo group. what am I missing here?  I pulled the initial jupyterhub image from docker hub, which at the time was .9.6.  Installed notebook 4+.  installed dockerspawner.  I have nginx with letsencrpyt handling https, but I am currently not using OAuth.  Do I need to allow the hub to create the accounts? How would I check if c.Authenticator.admin_users has the correct value?  Any help would be greatly appreciated 

I believe I have all the proper pkgs installed 
pip3 list: 
alembic (1.0.10)
asn1crypto (0.24.0)
async-generator (1.10)
attrs (19.1.0)
backcall (0.1.0)
bleach (3.1.0)
certifi (2019.3.9)
certipy (0.1.3)
cffi (1.12.3)
chardet (3.0.4)
cryptography (2.6.1)
decorator (4.4.0)
defusedxml (0.6.0)
entrypoints (0.3)
idna (2.8)
ipykernel (5.1.0)
ipython (7.5.0)
ipython-genutils (0.2.0)
jedi (0.13.3)
Jinja2 (2.10.1)
jsonschema (3.0.1)
jupyter-client (5.2.4)
jupyter-core (4.4.0)
jupyterhub (1.0.0)
keyring (10.6.0)
keyrings.alt (3.0)
Mako (1.0.9)
MarkupSafe (1.1.1)
mistune (0.8.4)
nbconvert (5.5.0)
nbformat (4.4.0)
notebook (5.7.8)
oauthlib (3.0.1)
pamela (1.0.0)
pandocfilters (1.4.2)
parso (0.4.0)
pexpect (4.7.0)
pickleshare (0.7.5)
pip (9.0.1)
prometheus-client (0.6.0)
prompt-toolkit (2.0.9)
ptyprocess (0.6.0)
pycparser (2.19)
pycrypto (2.6.1)
Pygments (2.3.1)
pygobject (3.26.1)
pyOpenSSL (19.0.0)
pyrsistent (0.15.1)
python-dateutil (2.8.0)
python-editor (1.0.4)
pyxdg (0.25)
pyzmq (18.0.1)
requests (2.21.0)
SecretStorage (2.3.1)
Send2Trash (1.5.0)
setuptools (41.0.1)
six (1.12.0)
SQLAlchemy (1.3.3)
terminado (0.8.2)
testpath (0.4.2)
tornado (6.0.2)
traitlets (4.3.2)
urllib3 (1.24.3)
wcwidth (0.1.7)
webencodings (0.5.1)
wheel (0.30.0)


conda list:
# Name                    Version                   Build  Channel
alembic                   1.0.8                    pypi_0    pypi
asn1crypto                0.24.0                   py36_0  
async-generator           1.10                     pypi_0    pypi
attrs                     19.1.0                   py36_1  
backcall                  0.1.0                    pypi_0    pypi
bleach                    3.1.0                    pypi_0    pypi
ca-certificates           2019.1.23                     0  
certifi                   2019.3.9                 py36_0  
cffi                      1.11.5           py36h9745a5d_0  
chardet                   3.0.4            py36h0f667ec_1  
conda                     4.6.14                   py36_0  
conda-env                 2.6.0                h36134e3_1  
configurable-http-proxy   1.3.0                         0    conda-forge
cryptography              2.6.1            py36h72c5cf5_0    conda-forge
decorator                 4.4.0                      py_0    conda-forge
defusedxml                0.6.0                    pypi_0    pypi
docker                    3.7.2                    pypi_0    pypi
docker-pycreds            0.4.0                    pypi_0    pypi
dockerspawner             0.11.1                   pypi_0    pypi
entrypoints               0.3                      pypi_0    pypi
escapism                  1.0.0                    pypi_0    pypi
globus-sdk                1.7.1                    pypi_0    pypi
gmp                       6.1.2                h6c8ec71_1  
idna                      2.6              py36h82fb2a8_1  
ipykernel                 5.1.0            py36h39e3cac_0  
ipython                   7.5.0            py36h39e3cac_0  
ipython_genutils          0.2.0                      py_1    conda-forge
jedi                      0.13.3                   pypi_0    pypi
jinja2                    2.10                       py_1    conda-forge
jsonschema                3.0.1                    pypi_0    pypi
jupyter_client            5.2.4                    py36_0  
jupyter_core              4.4.0                    py36_0  
jupyterhub                0.9.6                    pypi_0    pypi
jupyterlab                0.35.5           py36hf63ae98_0  
jupyterlab_server         0.2.0                    py36_0  
krb5                      1.16.3            h05b26f9_1001    conda-forge
libcurl                   7.64.1               hda55be3_0    conda-forge
libedit                   3.1.20170329      hf8c457e_1001    conda-forge
libffi                    3.2.1                hd88cf55_4  
libgcc-ng                 8.2.0                hdf63c60_1  
libsodium                 1.0.16               h1bed415_0  
libssh2                   1.8.2                h22169c7_2    conda-forge
libstdcxx-ng              8.2.0                hdf63c60_1  
mako                      1.0.8                    pypi_0    pypi
markupsafe                1.1.1            py36h14c3975_0    conda-forge
mistune                   0.8.4            py36h7b6447c_0  
nano                      0.9.4                    pypi_0    pypi
nbconvert                 5.5.0                      py_0  
nbformat                  4.4.0                    py36_0  
ncurses                   6.1               hf484d3e_1002    conda-forge
nodejs                    11.11.0              hf484d3e_0    conda-forge
notebook                  5.7.8                    py36_0  
oauthenticator            0.8.2                    pypi_0    pypi
openssl                   1.1.1b               h7b6447c_1  
pamela                    1.0.0                    pypi_0    pypi
pandoc                    2.2.3.2                       0  
pandocfilters             1.4.2                    py36_1  
parso                     0.4.0                      py_0  
pexpect                   4.7.0                    py36_0  
pickleshare               0.7.5                    pypi_0    pypi
pip                       19.0.3                   py36_0    conda-forge
prometheus_client         0.6.0                    py36_0  
prompt_toolkit            2.0.9                    py36_0  
ptyprocess                0.6.0                    pypi_0    pypi
pycosat                   0.6.3            py36h0a5515d_0  
pycparser                 2.18             py36hf9f622e_1  
pycurl                    7.43.0.2         py36h1ba5d50_0  
pygments                  2.3.1                    pypi_0    pypi
pyjwt                     1.7.1                    pypi_0    pypi
pyopenssl                 17.5.0           py36h20ba746_0  
pyrsistent                0.15.1                   pypi_0    pypi
pysocks                   1.6.8                    py36_0  
python                    3.6.7             h381d211_1004    conda-forge
python-dateutil           2.8.0                    py36_0  
python-editor             1.0.4                    pypi_0    pypi
python-oauth2             1.1.0                    pypi_0    pypi
pyzmq                     18.0.1                   pypi_0    pypi
readline                  7.0                  ha6073c6_4  
requests                  2.21.0                py36_1000    conda-forge
ruamel_yaml               0.15.35          py36h14c3975_1  
send2trash                1.5.0                    pypi_0    pypi
setuptools                39.0.1                   py36_0  
six                       1.11.0           py36h372c433_1  
sqlalchemy                1.3.1            py36h14c3975_0    conda-forge
sqlite                    3.26.0            h67949de_1001    conda-forge
terminado                 0.8.2                    pypi_0    pypi
testpath                  0.4.2                    py36_0  
tk                        8.6.9             h84994c4_1001    conda-forge
tornado                   5.1.1           py36h14c3975_1000    conda-forge
traitlets                 4.3.2                 py36_1000    conda-forge
urllib3                   1.22             py36hbe7ace6_0  
wcwidth                   0.1.7                    pypi_0    pypi
webencodings              0.5.1                    pypi_0    pypi
websocket-client          0.56.0                   pypi_0    pypi
wheel                     0.31.0                   py36_0  
xz                        5.2.4             h14c3975_1001    conda-forge
yaml                      0.1.7                had09818_2  
zeromq                    4.3.1                he6710b0_3  
zlib                      1.2.11               ha838bed_2  

Alvin Huff

unread,
May 17, 2019, 9:28:24 PM5/17/19
to Project Jupyter
This was resolved by create the user via the dockerfile and rebuilding
Reply all
Reply to author
Forward
0 new messages