jscheffl commented on issue #41901:
URL: https://github.com/apache/airflow/issues/41901#issuecomment-2323045378
I assume the "right" way to reset a user (admin or normal) password is:
```
root@fb30c3a3f4ce:/opt/airflow# airflow users reset-password --help
Usage: airflow users reset-password [-h] [-e EMAIL] [-p PASSWORD]
[--use-random-password] [-u USERNAME] [-v]
Reset a user's password
Options:
-h, --help show this help message and exit
-e, --email EMAIL Email of the user
-p, --password PASSWORD
Password of the user, required to create a user
without --use-random-password
--use-random-password
Do not prompt for password. Use random string
instead. Required to create a user without --password
-u, --username USERNAME
Username of the user
-v, --verbose Make logging output more verbose
examples:
To reset an user with username equals to "admin", run:
$ airflow users reset-password \
--username admin
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]