# 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:** 2

<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, 3:54pm UTC](https://discuss.elastic.co/t/what-is-sudo-password-in-the-lab-environment/375035/2 "2025-02-25T15:54:00Z")

</div>

Hi @Waldemar_Schafer ,

you don't need `sudo` password for installing the Elastic Agent, but you need to paste and run the copied commands in a fresh terminal and from the `elastic` user home directory (`/home/elastic` or `~` ).

Just to make sure you are on the right path, you can run `cd ~` in your terminal window before pasting and running the command lines you copied.

Best,  
Andre

---

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