Skip to content

Instantly share code, notes, and snippets.

@morrismukiri
Created January 17, 2019 17:11
Show Gist options
  • Select an option

  • Save morrismukiri/0a7017c6a40b986ef383eb7b18e60f05 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown

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

@pirate

pirate commented Jun 19, 2020

Copy link
Copy Markdown

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

@pritishpattanaik

Copy link
Copy Markdown

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

Akitha commented May 3, 2021

Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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
Copy Markdown

Still working 2022/11

@oppenheimertoy

Copy link
Copy Markdown

Still working 2022/12

@vnay92

vnay92 commented Mar 29, 2023

Copy link
Copy Markdown

Still working on 2023-03-29

@ldocao

ldocao commented Jul 19, 2023

Copy link
Copy Markdown

still working on 2023-07-19

@spacemudd

Copy link
Copy Markdown

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
Copy Markdown

Still working on 2023-09-18

@ts-robert

Copy link
Copy Markdown

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

@ozbillwang

Copy link
Copy Markdown
superset fab reset-password

thanks.

@areguig

areguig commented Oct 11, 2023

Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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
Copy Markdown

Still working 2024-06-20 ๐Ÿ˜„

@oshriza

oshriza commented Jul 1, 2024

Copy link
Copy Markdown

Still working 2024-07-01

@zhouhanc

Copy link
Copy Markdown

still working 2024-07-17!

@pirate

pirate commented Jul 17, 2024

Copy link
Copy Markdown

Everyone subscribed gets emailed for each comment. Please no more "it's still working" comments, only comment if it's NOT working anymore. ๐Ÿ™

@wei-jiang-dns53

wei-jiang-dns53 commented Jul 31, 2024

Copy link
Copy Markdown

superset fab
OR
superset fab create-admin
OR
superset fab reset-password --username adminuser --password yourpassword

@EnxDev

EnxDev commented Mar 29, 2025

Copy link
Copy Markdown

flask fab reset-password --username yourUsername --password yourPassword

@Prateek14b

Copy link
Copy Markdown

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

This works! (2025-07-29)

@ssalmcan

ssalmcan commented Nov 9, 2025

Copy link
Copy Markdown

Connect CMD Run As Administrator

Connect Docker
docker exec -u 0 -it containers_id /bin/bash
Reset User Password
fabmanager reset-password --app superset --username username --password enteryournewpassword

09.11.2025

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