# What is sudo password in the lab environment

**URL:** <https://discuss.elastic.co/t/what-is-sudo-password-in-the-lab-environment/375035>\
**Category:** Elastic Training\
**Created:** [February 25, 2025, 3:43pm UTC](https://discuss.elastic.co/t/what-is-sudo-password-in-the-lab-environment/375035 "2025-02-25T15:43:03Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Andre\_Murbach\_Maidl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andre_murbach_maidl/32/83508_2.png) [@Andre\_Murbach\_Maidl](https://discuss.elastic.co/u/Andre_Murbach_Maidl)\
**Post date:** [February 25, 2025, 4:26pm UTC](https://discuss.elastic.co/t/what-is-sudo-password-in-the-lab-environment/375035/4 "2025-02-25T16:26:16Z")

</div>

Hi @Waldemar_Schafer ,

I'm sorry if I mislead the conversation. Yes, `sudo` is required and the environment is configured to allow `sudo` without password for installing and running the agent, but it is restricted to the path provided in lab instructions.

What is the path you are running the agent install?

That command must be executed from `/home/elastic/elastic-agent-8.8.2-linux-x86_64` directory.

Best,  
Andre

---

_[View the full topic](https://discuss.elastic.co/t/what-is-sudo-password-in-the-lab-environment/375035)._
