Skip to content

Instantly share code, notes, and snippets.

@morrismukiri
Created January 17, 2019 17:11
Show Gist options
  • Save morrismukiri/0a7017c6a40b986ef383eb7b18e60f05 to your computer and use it in GitHub Desktop.
Save morrismukiri/0a7017c6a40b986ef383eb7b18e60f05 to your computer and use it in GitHub Desktop.
Apache Superset reset admin password
# activate the virtualenv
source /home/superset/.virtualenvs/superset/bin/activate
fabmanager reset-password --app superset --username admin --password enteryournewpassword
@startwoinformatica
Copy link

Thanks!!
In my case it worked wen i logger into the container and used the comand: superset reset-password.

@pirate
Copy link

pirate commented Jun 19, 2020

The command to run in the container is now superset fab reset-password (as of 2020-06-18 at least).

@pritishpattanaik
Copy link

fabmanager is going to deprecated, you flask fab cmd

export FLASK_APP=superset
flask fab reset-password --username adminuser --password yourpassword

or

superset fab reset-password --username adminuser --password yourpassword

@Akitha
Copy link

Akitha commented May 3, 2021

fabmanager is going to deprecated, you flask fab cmd

export FLASK_APP=superset
flask fab reset-password --username adminuser --password yourpassword

or

superset fab reset-password --username adminuser --password yourpassword

Still working (2021-05-03)

@Zaiku1972
Copy link

Still works, but when using docker-compose please do the following

#modify admin password in superset

docker exec -it superset_app /bin/bash

superset fab reset-password --username admin --password yourpassword

@sainathbalance
Copy link

Still works, but when using docker-compose please do the following

#modify admin password in superset

docker exec -it superset_app /bin/bash

superset fab reset-password --username admin --password yourpassword

Thank you so much. This worked for me _/_

@hugonbgg
Copy link

Still working 2022/11

@oppenheimertoy
Copy link

Still working 2022/12

@vnay92
Copy link

vnay92 commented Mar 29, 2023

Still working on 2023-03-29

@ldocao
Copy link

ldocao commented Jul 19, 2023

still working on 2023-07-19

@spacemudd
Copy link

I had an error about requiring holidays package. Running Superset on Apache.

Installed it using: pip install "holidays < 0.24" prophet

Then it worked great.

@lucaspintos909
Copy link

Still working on 2023-09-18

@ts-robert
Copy link

Still works on 2023-10-10. Thanks to above all!

@ozbillwang
Copy link

superset fab reset-password

thanks.

@areguig
Copy link

areguig commented Oct 11, 2023

Still works, but when using docker-compose please do the following

#modify admin password in superset

docker exec -it superset_app /bin/bash

superset fab reset-password --username admin --password yourpassword

Still working on 2023-10-11

@daoudbahaz
Copy link

Still works, but when using docker-compose please do the following

#modify admin password in superset

docker exec -it superset_app /bin/bash

superset fab reset-password --username admin --password yourpassword

Still working on 2023-12-25, thank you very much!

@indrarasyid07
Copy link

Still works, but when using docker-compose please do the following

#modify admin password in superset

docker exec -it superset_app /bin/bash

superset fab reset-password --username admin --password yourpassword

Still working on 2024-04-23, thank you bro

@idoavrah
Copy link

Still working 2024-06-20 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment