Add admin user from command line to TLJH


I accidentally deleted the first admin in a default TLJH installation. I can still log-in but have no admin access in the JupyterHub interface (I still have full ssh access).

How can I re-add admin privileges to the user from the command line?

EDIT: Any help appreciated!

Is it possible to re-add the first admin user from the command line or my installation is hosed?

Thanks in advance!

EDIT2 In case it wasn’t clear, I am using the default FirstUseAuthenticator

Ping! In case someone can point me in the right direction.