# Rasa X | Set your Admin Password fails - "sudo: docker-compose: command not found"

**URL:** <https://forum.rasa.com/t/rasa-x-set-your-admin-password-fails-sudo-docker-compose-command-not-found/15679>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [September 15, 2019, 5:26pm UTC](https://forum.rasa.com/t/rasa-x-set-your-admin-password-fails-sudo-docker-compose-command-not-found/15679 "2019-09-15T17:26:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![saideep-g](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/saideep-g/32/4518_2.png) [@saideep-g](https://forum.rasa.com/u/saideep-g)\
**Post date:** [September 15, 2019, 5:26pm UTC](https://forum.rasa.com/t/rasa-x-set-your-admin-password-fails-sudo-docker-compose-command-not-found/15679/1 "2019-09-15T17:26:33Z")

</div>

I have followed the instructions as per the [Rasa X - Quick Installation](https://rasa.com/docs/rasa-x/deploy/#quick-installation) and successfully started Rasa X using docker on CentOS. However, when setting the admin password using below command:

`sudo python rasa_x_commands.py create --update admin me PASSWORD`

I get an error message that `docker-compose: command not found`

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/a/a4735f880b142e65e9f46b0ec51b21b8572792c5.png)

Any ideas how to resolve this issue?

---

<div class="post-metadata">

**Author:** ![saideep-g](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/saideep-g/32/4518_2.png) [@saideep-g](https://forum.rasa.com/u/saideep-g)\
**Post date:** [September 16, 2019, 3:39am UTC](https://forum.rasa.com/t/rasa-x-set-your-admin-password-fails-sudo-docker-compose-command-not-found/15679/2 "2019-09-16T03:39:38Z")

</div>

I have gone through the rasa\_x\_commands.py and see that it was building below command. When i executed that it worked fine.

`docker-compose exec rasa-x bash -c "python3 /app/scripts/manage_users.py create me welcome123 admin --update"`

I added `--update` at the end because it gave me below error message without `--update`:

> User ‘me’ already exists. You can update the password by running `sudo python rasa_x_commands.py create --update me admin <new_pw>`

---

<div class="post-metadata">

**Author:** ![medicareamaze](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/medicareamaze/32/18346_2.png) [@medicareamaze](https://forum.rasa.com/u/medicareamaze)\
**Post date:** [November 28, 2021, 2:58am UTC](https://forum.rasa.com/t/rasa-x-set-your-admin-password-fails-sudo-docker-compose-command-not-found/15679/3 "2021-11-28T02:58:07Z")

</div>

> [@saideep-g](#):
>
> docker-compose exec rasa-x bash -c “python3 /app/scripts/manage\_users.py create me welcome123 admin --update”

docker-compose exec rasa-x bash -c “python3 /app/scripts/manage\_users.py create admin \<new\_pw\> admin --update”. worked for me

---

<div class="post-metadata">

**Author:** ![HotThoughts](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/hotthoughts/32/12431_2.png) [@HotThoughts](https://forum.rasa.com/u/HotThoughts)\
**Post date:** [November 29, 2021, 10:24am UTC](https://forum.rasa.com/t/rasa-x-set-your-admin-password-fails-sudo-docker-compose-command-not-found/15679/4 "2021-11-29T10:24:00Z")

</div>

From the terminal screenshot, you are already the root. So no need to use `sudo` here.
