Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How to create the first/init admin account and password #140

Closed
imdodolook opened this issue Mar 3, 2021 · 5 comments
Closed

How to create the first/init admin account and password #140

imdodolook opened this issue Mar 3, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@imdodolook
Copy link

Hi nativeauthenticator team, I am new here. I tried the dummy authenticator before, and am thinking to use native authenticator now.
The admin user and password are predefined in the jupyterhub configure file for dummy authenticator. So how can I create /pre-define the first admin account with username password for native authenticator?

I searched many documents about the nativeauthenticator, they all said the admin account need also be singed up. I didn't find the place to # the admin account( only find the way to sing up normal account) and any clue about it .

To be clear , my questions is

  1. how can I create the very first admin account with password?
  2. how can I create other admin account ?
  3. I am running with non-root access in redhat, so I didnt create any user on it, is it nessary to create some linux account and use it as admin account?

Thanks

@imdodolook imdodolook added the enhancement New feature or request label Mar 3, 2021
@welcome
Copy link

welcome bot commented Mar 3, 2021

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@muru
Copy link

muru commented Mar 9, 2021

Use the same page for signing up for "normal" users - if your username is the list of admin users, you will be automatically approved. See this section of the docs:

It is important to notice that admin must also create a new user through #. However, usernames list in the config file as admins will automatically have authorization to enter the system.

@ibayer
Copy link

ibayer commented Mar 19, 2021

@muru
Thanks for your feedback. I'm exactly in the same situation (more details in jupyterhub/the-littlest-jupyterhub#295) but my admin user doesn't seem to be automatically approved. He is listed in the config file and can be used without nativeauthenticator.

Can you give me any hints on how to debug this?

@ibayer
Copy link

ibayer commented Mar 20, 2021

Look like I had a tljh specific issue that I have been able to resolve jupyterhub/the-littlest-jupyterhub#295 (comment), thanks for providing NativeAuthenticator!

@imdodolook
Copy link
Author

You are right, the admin # will be auto approved, my issue is resolved, sorry to keep this issue open so long, I have some issue to access my account.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants