# Password required for Sudo install

**URL:** <https://discuss.elastic.co/t/password-required-for-sudo-install/384141>\
**Category:** Elastic Observability\
**Created:** [December 17, 2025, 12:11pm UTC](https://discuss.elastic.co/t/password-required-for-sudo-install/384141 "2025-12-17T12:11:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sharona](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sharona/32/141029_2.png) [@sharona](https://discuss.elastic.co/u/sharona)\
**Post date:** [December 17, 2025, 12:11pm UTC](https://discuss.elastic.co/t/password-required-for-sudo-install/384141/1 "2025-12-17T12:11:03Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/1/5/150684fc6619db690a3a9830cbe31fe561b55984.png)

I’m using the Strigo environment and it keeps prompting for the elastic password. I tried using the training access password and it doesn’t work.

---

<div class="post-metadata">

**Author:** ![Tortoise](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tortoise/32/147587_2.png) [@Tortoise](https://discuss.elastic.co/u/Tortoise)\
**Post date:** [December 17, 2025, 12:26pm UTC](https://discuss.elastic.co/t/password-required-for-sudo-install/384141/2 "2025-12-17T12:26:59Z")

</div>

Hello @sharona

Welcome to the community!!

It seems we need to execute the command from the directory : /home/elastic/elastic-agent-8.8.2-linux-x86\_64

Similar error :

> [@What is sudo password in the lab environment](https://discuss.elastic.co/t/what-is-sudo-password-in-the-lab-environment/375035/3):
>
> Hi @Andre_Murbach_Maidl I have restarted the environment with a fresh shell and tried this: elastic@ip-172-31-35-63:~$ pwd /home/elastic elastic@ip-172-31-35-63:~$ sudo ./elastic-agent install --url=https://fleet-server:8220 --enrollment-token=.......... [sudo] password for elastic: There are 2 reasons that sudo is required: in the step 12 it is explicitly asked for After the Elastic Agent is installed you can use `sudo /opt/Elastic/Agent/elastic-agent` in case you need to troubleshoot. E…

Thanks!!
